Streaming rabin chunker based on rabin-native
MIT License
Streaming rabin chunker based on rabin-native
npm install rabin-stream
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)
MIT