1.0.0 • Published 9 years ago
nk-csv-stream v1.0.0
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
1.0.0
9 years ago