Narcissistic Pickle Meister
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fullnamepublic

    fullname Build Status

    Get the fullname of the current user

    Install

    $ npm install --save fullname
    

    Tested on macOS, Linux, and Windows.

    Usage

    const fullname = require('fullname');
     
    fullname().then(name => {
        console.log(name);
        //=> '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

    15,886

    version

    3.3.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar