FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

seedalpha/rebuffer: A transform stream that buffers internally and emits chunks of given length. · GitHub

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rebuffer

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

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 rusintez@gmail.com

License

MIT

About

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

Resources

Stars

0 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL