@cjser/fullname-native
v3.0.0-cjser.2
Published
Get the fullname of the current user
Maintainers
Readme
fullname-native
Get the fullname of the current user
Install
npm install fullname-nativeThis is a native binding and expects you to have the required toolchain. (ignore the node-gyp install)
Tested to work on macOS, Linux and Windows.
Usage
import fullname from 'fullname-native';
console.log(fullname);
//=> 'Sindre Sorhus'Returns undefined if the fullname cannot be found.
Related
- fullname-cli - CLI for this package
- fullname - Non-native version of this package
- username - Get the username of the current user
cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/fullname-native
