File tree Expand file tree Collapse file tree 3 files changed +24
-5
lines changed
Expand file tree Collapse file tree 3 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 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 )
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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" ,
1616 " eml" ,
1717 " html"
1818 ],
19- "author" : " Aco Mitevski" ,
19+ "contributors" : [
20+ " Rodrigo Tomé" ,
21+ " Aco Mitevski"
22+ ],
2023 "license" : " ISC"
2124}
You can’t perform that action at this time.
0 commit comments