tiniest-csv
Parse a CSV string into a two-dimensional array.
Installation
npm install tiniest-csv
Usage
var fs =var csv =var csvData = fsconsole// [// ['key', 'value'],// ['one', 'two'],// ['three', 'four'],// ['five', 'six']// ]var tsvData = fsconsole// [// ['key', 'value'],// ['one', 'two'],// ['three', 'four'],// ['five', 'six']// ]
Caveats
The module is meant to be used on smaller sets of data. If you need maximum speed, use csv-parser.