Skip to content

wangzuo/through2-concat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

Releases

No releases published

Packages

No packages published