rabin-stream
v1.0.0
Published
Streaming rabin chunker based on rabin-native
Downloads
3
Readme
rabin-stream
Streaming rabin chunker based on rabin-native
npm install rabin-stream
Usage
const RabinStream = require('rabin-stream')
const r = new RabinStream({
min: ... // min chunk byteSize
max: ... // max chunk byteSize
})
r.on('data', function (data) {
console.log('got chunk!', data)
})
someStream.pipe(r)
License
MIT