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

fullname Build Status

Get the full name of the current user

Install

$ npm install fullname

Tested on macOS, Linux, and Windows.

Usage

const fullName = require('fullname');

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

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

Related

License

MIT © Sindre Sorhus

Current Tags

  • 4.0.1                                ...           latest (7 years ago)

15 Versions

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

Copyright 2013 - present © cnpmjs.org | Home |