Skip to content

pkgstats/npm-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-email Build Status

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

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%