Sync CSV parser.
npm install csv2array
csv2array(csv_string, opts)
opts.delimiter (string): value delimiter to use
opts.skipwhitespace (boolean): ignore whitespaces between commas
var csv2array = require('csv2array');
var arr = csv2array('"a", "b", "c"\n"d","e","f"');
Code taken from jquery.csv plugin.