1.0.1 • Published 9 years ago
through2-concat v1.0.1
through2-concat
simple concat stream with through2
Installation
npm install through2-concat --save
Usage
var fs = require('fs');
var ts = require('through2-concat');
fs.createReadStream('package.json').pipe(ts(function(file, cb) {
this.push(file.length+'');
cb();
})).pipe(process.stdout);