fullname-native
Get the fullname of the current user
Install
$ npm install --save fullname-native
This is a native binding and expects you to have the required toolchain. (ignore the node-gyp install)
Tested to work on OS X, Linux and Windows.
Usage
const fullname = require('fullname-native');
console.log(fullname);
//=> 'Sindre Sorhus'
Related
- fullname-cli - CLI for this module
- fullname - Non-native version of this module
- username - Get the username of the current user
License
MIT © Sindre Sorhus