Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 721 Bytes

readme.md

File metadata and controls

40 lines (31 loc) · 721 Bytes

Node.js email addresses extractor

Extracts all email addresses from a given file and saves them in a new text file, each on a new line.

Example:

$ email-extract ~/Desktop/file_that_contains_emails.eml

File ~/Desktop/emails-found.txt :

Install

npm install -g email-extract

Usage

Usage: email-extract [options] <src>

Options:
  -V, --version      output the version number
  -d, --dest <path>  Destination file path, if not set the file will be saved in ./emails-found.txt
  -h, --help         output usage information

Dev

git clone [email protected]:micc83/email-extract.git
cd email-extract
npm install
npm link