- Download the zip file and extract them in a folder by clicking on clone or download.
- On the command prompt type: npm install
- On the command prompt type: npm start
- Running the above command takes in the customer-data.csv file from current directory and creates customer-data.json file.
Walk us through the design of your project. Why did you design your project the way you did? What difficulties did you overcome?
I read the api for csvtojson and it was simpler to use it rather write the code. Had to make sure to convert the string to JSON.stringify to format properly.
How did you test your project to verify that it works?
Executed the script to make sure output matched with the requirements.
Let us know if anything doesn't work as intended so your reviewer will know ahead of time
Works as expected.