JSON is an HTML parser. The tool allows you to create a simple website from data that is stored in JSON files. Fetches data from a file and populates an HTML list/table with it.
fileWatcher (in the watch.js file), which listens for the change event and copies all HTML files generated by you to a temporary folder, when we close the watcher application, all files will be deleted.
- Clone the repo
git clone https://github.com/PiotrSierant/JSONtoHTMLparser.git
- Install NPM packages
npm install
- Scripts
"table": "nodemon index.js table", -> node index.js table "ol-list": "nodemon index.js list -lt ol", -> node index.js ol-list "ul-list": "nodemon index.js list -lt ul" -> node index.js ul-list watch -> node watch.js