rabin-stream

Streaming rabin chunker based on rabin-native

MIT License

Downloads
10
Stars
4
Committers
1

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

Package Rankings
Top 19.04% on Npmjs.org