fullname-native
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

fullname-native

Get the fullname of the current user

Install

npm install fullname-native

This 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

Package Sidebar

Install

npm i fullname-native

Weekly Downloads

9

Version

3.0.0

License

MIT

Unpacked Size

4.87 kB

Total Files

8

Last publish

Collaborators

  • sindresorhus