Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

get-emails

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-emails

Get all email addresses in a string

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
2.4K
4.53%
Maintainers
1
Weekly downloads
 
Created
Source

get-emails Build Status

Get all email addresses in a string

The returned list is uniquified.

Install

$ npm install --save get-emails

Usage

var getEmails = require('get-emails');

var text = 'Lorem ipsum dolor sit amet, sindresorhus@gmail.com consectetuer unicorn@rainbow.cake elit.';

getEmails(text);
//=> ['sindresorhus@gmail.com', 'unicorn@rainbow.cake']

CLI

$ npm install --global get-emails
$ get-emails --help

  Usage
    get-emails <file>
    cat <file> | get-emails

License

MIT © Sindre Sorhus

Keywords

cli-app

FAQs

Package last updated on 07 Sep 2014

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