fullname
Get the fullname of the current user
Last updated 3 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install fullname 
SYNC missed versions from official npm registry.

fullname

Get the full name of the current user

Works on macOS, Linux, and Windows.

Install

npm install fullname

Usage

import fullName from 'fullname';

console.log(await fullName());
//=> 'Sindre Sorhus'

In the rare case a name cannot be found, you could fall back to username.

Related

Current Tags

  • 5.0.0                                ...           latest (3 years ago)

16 Versions

  • 5.0.0                                ...           3 years ago
  • 4.0.1                                ...           7 years ago
  • 4.0.0                                ...           8 years ago
  • 3.3.0                                ...           10 years ago
  • 3.2.0                                ...           10 years ago
  • 3.1.0                                ...           10 years ago
  • 3.0.0                                ...           11 years ago
  • 2.1.0                                ...           11 years ago
  • 2.0.1                                ...           11 years ago
  • 2.0.0                                ...           11 years ago
  • 1.1.1                                ...           11 years ago
  • 1.1.0                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 37
Today 0
This Week 1
This Month 27
Last Day 1
Last Week 3
Last Month 9
Dependencies (6)
Dev Dependencies (5)

© 2010 - cnpmjs.org x YWFE | Home | YWFE