Have ideas to improve npm?Join in the discussion! »

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

    3.2.1 • Public • Published

    npm-email Build Status

    Get the email of an npm user

    Install

    $ npm install npm-email
    

    Usage

    const npmEmail = require('npm-email');
     
    (async () => {
        console.log(await npmEmail('sindresorhus'));
        //=> 'sindresorhus@gmail.com'
    })();

    API

    npmEmail(username)

    Returns a promise for the user's email address.

    username

    Type: string

    npm username to look up.

    Related

    License

    MIT © Sindre Sorhus

    Install

    npm i npm-email

    DownloadsWeekly Downloads

    154

    Version

    3.2.1

    License

    MIT

    Unpacked Size

    4.22 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar