look up npm usernames by email address
This module does not fetch live data from an API. Instead it contains exported data from the owner-profiles and owners modules.
If you need to do lookups in the other direction (email addresses by username), see the get-email-address-from-npm-username, module which pings the npm registry directly.
npm i npm-usernames-by-email --save
const usernames = require('npm-usernames-by-email')
usernames['zeke@sikelianos.com']
// => ['zeke']
usernames['andrewbgoode@gmail.com']
// => ['abg', 'nexdrew']
With npx
:
$ npx npm-usernames-by-email zeke@sikelianos.com
zeke
With npm global installation:
$ npm i -g npm-usernames-by-email
$ npm-username zeke@sikelianos.com
zeke
npm install
npm test
None
- jest: Delightful JavaScript Testing.
- owner-profiles: Profile data for every npm author: name, email, GitHub handle, etc.
- standard: JavaScript Standard Style
- standard-markdown: Test your Markdown files for Standard JavaScript Style™
MIT