Skip to content

seedalpha/rebuffer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rebuffer

A transform stream that buffers internally and emits chunks of given length.

NPM Package Build Status Dependencies

Installation

$ npm install rebuffer --save

Usage

var rebuffer = require('rebuffer');

fs.readReadStream('bigfile.txt')
  .pipe(rebuffer(1024 * 1024)) // will buffer input chunks, and emit 1mb chunks out
  .pipe(fs.createWriteStream('foo.txt'));

Author

Vladimir Popov [email protected]

License

MIT

About

A transform stream that buffers internally and emits chunks of given length.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors