JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7917
  • Score
    100M100P100Q126008F
  • License MIT

Get the email of an npm user

Package Exports

  • npm-email

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npm-email) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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