NodeJS csv parser
Using FS to read in a CSV
fs is the File System API in node. We can use the method readFile on our fs variable, pass it a data.csv file, format and function that reads and splits the csv for further processing.
This assumes you have a file named data.csv in the same folder.
You can now use the array like any other to do work on it.