Skip to content

Commit ff3ed51

Browse files
committed
Bumped version to v.1.1.0 and added CHANGELOG file
1 parent 04a3db5 commit ff3ed51

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
### v.1.1.0: 08 of Sep, 2021
2+
3+
* Added the option `-d` for extract html from all files inside the directory
4+
* Refactored all the code
5+
6+
### v.1.0.0: 25 of Nov, 2014
7+
8+
* **¡First Release!**
9+
* Added code to transform EML files to HTML
10+
* The original code is from [amitevski](https://github.com/amitevski/eml_to_html)

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
# Cli Tool to extract html content from a eml file
1+
# CLI Tool to extract html content from a EML file
22

33
## Usage
44

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

10+
Or add the flag -d for extract html from all files inside the directory:
611
```bash
7-
node parse.js -i /path/to/email.eml -o /path/to/email.html
8-
```
12+
node parse.js -d -i /inPath/to/ -o /outPath/to/
13+
```
14+
In this case the out files always has the same name of the input files with HTML extension.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eml_parser",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"type": "module",
55
"description": "Parse eml file and output html",
66
"main": "parse.js",
@@ -16,6 +16,9 @@
1616
"eml",
1717
"html"
1818
],
19-
"author": "Aco Mitevski",
19+
"contributors": [
20+
"Rodrigo Tomé",
21+
"Aco Mitevski"
22+
],
2023
"license": "ISC"
2124
}

0 commit comments

Comments
 (0)