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.
- Host: GitHub
- URL: https://github.com/micc83/email-extract
- Owner: micc83
- Created: 2019-07-18T08:50:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T08:25:00.000Z (about 6 years ago)
- Last Synced: 2025-07-20T05:11:12.537Z (11 months ago)
- Topics: cli, email, email-extractor, extracts, tools
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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
```