ldjson-csv

streaming csv to line delimited json parser

npm install ldjson-csv
1 downloads in the last day
3 downloads in the last week
21 downloads in the last month

ldjson-csv

streaming csv to line delimited json parser

NPM

usage

var parser = require('ldjson-csv')

parser()

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
  })

license

BSD

npm loves you