Skip to content

PiotrSierant/JSONtoHTMLparser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

JSONtoHTMLparser

ABOUT THE EXERCISE

My first CLI

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

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.

BUILT WITH

HTML5 JavaScript NodeJS

INSTALLATION

  1. Clone the repo
    git clone https://github.com/PiotrSierant/JSONtoHTMLparser.git
  2. Install NPM packages
    npm install
  3. 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

About

CLI - JSON to HTML parser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published