Package Exports
- slice-stream2
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (slice-stream2) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
slice-stream2
Pipe data through a stream until some fixed length is reached.
Installation
$ npm install --save slice-stream2Example
var fs = require('fs');
var sliceStream = require('slice-stream2');
fs.createReadStream('my/file.txt')
.pipe(sliceStream({ bytes: 5 }))
.pipe(process.stdout);License
MIT
