Parsing a CSV file using NodeJS
csv, node.js
Solution
Seems like you need to use a stream-based library such as fast-csv, which also includes validation support.
NB! As the fast-csv package is not actively maintained suggesting looking into some other alternative like csv.
Problem
With nodejs I want to parse a .csv file of 10000 records and do some operation on each row. I tried using http://www.adaltas.com/projects/node-csv. I couldnt get this to pause at each row. This just reads through all the 10000 records. I need to do the following: - read csv line by line - perform time consuming operation on each line - go to the next line Can anyone please suggest any alternative ideas here?