For running this code you need to install Node Js in your machine. For installing NodeJs in your local machine Just go this Website and download and install it..
After installation you need to download this full repo in your local machine. If you do not want to clone/download full repo then just download these two files from them in same directory.
- app.js
- input.csv
Then open command prompt(terminal) in same directory where you stored those two files. Now,install those packeges:
npm init -y
npm install csvtojson json2csv --save
npm i convert-array-to-csv -S
npm install csv-parser
Now. write node app.js
and hit enter. Done. Code Has been executed.See the output