🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

npm-email

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-email

Get the email of an npm user

latest
Source
npmnpm
Version
5.1.0
Version published
Weekly downloads
9.5K
27.05%
Maintainers
1
Weekly downloads
 
Created
Source

npm-email

Get the email of an npm user

Install

npm install npm-email

Usage

import npmEmail from 'npm-email';

console.log(await npmEmail('sindresorhus'));
//=> 'sindresorhus@gmail.com'

API

npmEmail(username)

Returns a promise for the user's email address, or undefined if the user does not exist or the email could not be found.

username

Type: string

The npm username to look up.

  • npm-email-cli - CLI for this module
  • npm-keyword - Get a list of npm packages with a certain keyword
  • package-json - Get the package.json of a package from the npm registry
  • npm-user - Get user info of an npm user

Keywords

npm

FAQs

Package last updated on 29 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts