Get the email of an npm user
$ npm install npm-email
const npmEmail = require('npm-email');
(async () => {
console.log(await npmEmail('sindresorhus'));
//=> '[email protected]'
})();
Returns a promise for the user's email address.
Type: string
npm username to look up.
- 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
MIT © Sindre Sorhus