To install dependencied required
npm install
To run it in command line mode use following command
npm run cmd
To run in webpage mode use following command
npm run web
On successfull execution terminal will respond as
> node main.js web
Please visit http://localhost:3000
Visit http://localhost:3000 from browser to run the web view