1.0.0 • Published 9 years ago

nk-csv-stream v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

nk-csv-stream

Load and parse a CSV file.

Install

With npm do:

$ npm install nk-csv-stream --save-dev

Usage

var CsvStream = require('nk-csv-stream');
var stream = new CsvStream();

stream.on('data', function(row, head) {
  if (head) return;

  // Do something with the row.
});

stream.once('end', function() {
  stream.dispose();
});

stream.open('https://url.com/to/file.csv');

API

.open(url)

.dispose()

License

MIT