nk-csv-stream
v1.0.0
Published
Load and parse a CSV file
Downloads
1
Readme
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