Skip to content

pkgstats/npm-email

 
 

Repository files navigation

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'));
	//=> '[email protected]'
})();

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

About

Get the email of an npm user

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.1%
  • TypeScript 8.9%