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

    4.0.1 • Public • Published

    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

    Install

    npm i fullname

    DownloadsWeekly Downloads

    113,540

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    5.62 kB

    Total Files

    5

    Last publish

    Collaborators

    • sindresorhus