package
Get the fullname of the current user
npm install fullnameGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Get the full name of the current user
Works on macOS, Linux, and Windows.
npm install fullnameimport fullName from 'fullname';
console.log(await fullName());
//=> 'Sindre Sorhus'In the rare case a name cannot be found, you could fall back to username.
Estimated unpacked size across 32 packages.
896.5 kB
Includes dependencies.
6 direct · 3 outdated
^1.2.8
1.2.8
^5.1.0
10.0.0
^8.0.1
10.2.1
^4.0.0
4.0.0
^5.1.0
6.1.0
^4.0.0
4.0.0