UNPKG

csv

Version:

CSV parser with simple api, full of options and tested against large datasets.

9 lines (6 loc) 149 B
csv = require('..'); csv() .from.string( "1 2 3\ra b c", {delimiter: '\t'}) .to.array( function(data){ console.log( JSON.stringify( data ) ); });