0.0.0 • Published 10 years ago
record-stream-slice v0.0.0
stream-slice
var csv = require('fast-csv');
var slice = require('stream-slice');
fs.createReadStream("my.csv")
.pipe(csv())
.pipe(slice(0, 10))
.on('data', function (data) {
console.log(data);
});
License
(The MIT License)
Copyright (c) 2014 Po-Ying Chen <poying.me@gmail.com>.
0.0.0
10 years ago