csv-parser-2 based on rfc4180, extended with popular needs automatic delimiter detection encoding detection and utf8 conversion removing empty rows trimming cells var parser = require('csv-parser-2'); var data = parser(new Buffer('a,b\n1,2'));console.log(data.rows); // [['a', 'b'],['1', '2']];