Parses HTML train orders from SNCF and outputs their summary in json
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To run this project, you will just need:
- NodeJS (this was coded with version 10, but should likely work with v8 as well)
- NPM
Simply run npm install
once
> npm install
And you're good to go.
Just running npm start
will read the "test.html" file in the current folder and output it in a "test-result.json" file, overwriting it without notice.
Two optional parameters are available for this program:
-f <fileName>
: path to the HTML file being parsed-o <fileName>
: path to the JSON output file
- Sylvain BIGONNEAU - Initial work - SylvainBigonneau