Pipe data through a stream until some fixed length is reached, then callback.
npm install slice-stream2slice-stream2
=============
> Pipe data through a stream until some fixed length is reached.




Installation
------------
``bash`
$ npm install --save slice-stream2
Example
-------
`js
var fs = require('fs');
var sliceStream = require('slice-stream2');
fs.createReadStream('my/file.txt')
.pipe(sliceStream({ bytes: 5 }))
.pipe(process.stdout);
``
License
-------
MIT