ne

npm-email

Get the email of an npm user

Showing:

Readme

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.

License

MIT © Sindre Sorhus