Skip to content

Commit

Permalink
Bumped version to v.1.1.0 and added CHANGELOG file
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoTomeES committed Sep 8, 2021
1 parent 04a3db5 commit ff3ed51
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### v.1.1.0: 08 of Sep, 2021

* Added the option `-d` for extract html from all files inside the directory
* Refactored all the code

### v.1.0.0: 25 of Nov, 2014

* **¡First Release!**
* Added code to transform EML files to HTML
* The original code is from [amitevski](https://github.com/amitevski/eml_to_html)
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Cli Tool to extract html content from a eml file
# CLI Tool to extract html content from a EML file

## Usage

Use this command for only one file:
```bash
node parse.js -i /inPath/to/email.eml -o /outPath/to/email.html
```

Or add the flag -d for extract html from all files inside the directory:
```bash
node parse.js -i /path/to/email.eml -o /path/to/email.html
```
node parse.js -d -i /inPath/to/ -o /outPath/to/
```
In this case the out files always has the same name of the input files with HTML extension.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eml_parser",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"description": "Parse eml file and output html",
"main": "parse.js",
Expand All @@ -16,6 +16,9 @@
"eml",
"html"
],
"author": "Aco Mitevski",
"contributors": [
"Rodrigo Tomé",
"Aco Mitevski"
],
"license": "ISC"
}

0 comments on commit ff3ed51

Please sign in to comment.