npm-email
Get the email of an npm user
Install
$ npm install --save npm-email
Usage
const npmEmail = require('npm-email');
npmEmail('sindresorhus').then(email => {
console.log(email);
//=> 'sindresorhus@gmail.com'
});
API
npmEmail(username)
Returns a promise for the user's email address.
username
Type: string
npm username to look up.
Related
- npm-email-cli - CLI for this module
- npm-keyword - Get a list of npm packages with a certain keyword
- package-json - Get the package.json of a package from the npm registry
- npm-user - Get user info of an npm user
License
MIT © Sindre Sorhus