ldjson-csv

streaming csv to line delimited json parser

ldjson-csv

streaming csv to line delimited json parser

var parser = require('ldjson-csv')

returns a transform stream that accepts CSV data and emits line delimited JSON

usage:

fs.createReadStream('data.csv')
  .pipe(require('ldjson-csv')())
  .on('data', function(obj) {
    // obj is a javascript object 
  })

BSD