npm-usernames-by-email
v1.0.0
Published
look up npm usernames by email address
Downloads
8
Readme
npm-usernames-by-email
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.
Installation
npm i npm-usernames-by-email --saveUsage (JS)
const usernames = require('npm-usernames-by-email')
usernames['[email protected]']
// => ['zeke']
usernames['[email protected]']
// => ['abg', 'nexdrew']Usage (Command Line)
With npx:
$ npx npm-usernames-by-email [email protected]
zekeWith npm global installation:
$ npm i -g npm-usernames-by-email
$ npm-username [email protected]
zekeTests
npm install
npm testDependencies
None
Dev Dependencies
- 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™
License
MIT
