An open API service indexing awesome lists of open source software.

https://github.com/micc83/email-extract

Extracts all email addresses from a given file and saves them in a new text file.
https://github.com/micc83/email-extract

cli email email-extractor extracts tools

Last synced: 2 months ago
JSON representation

Extracts all email addresses from a given file and saves them in a new text file.

Awesome Lists containing this project

README

          

# 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:**
```sh
$ email-extract ~/Desktop/file_that_contains_emails.eml
```
**File `~/Desktop/emails-found.txt`** :
```
email1@email.it
email2@email.it
...
```

## Install

```sh
npm install -g email-extract
```

## Usage

```
Usage: email-extract [options]

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

## Dev

```sh
git clone git@github.com:micc83/email-extract.git
cd email-extract
npm install
npm link
```