@jacobbubu/pull-randomly-split
v1.0.0
Published
[](https://travis-ci.org/jacobbubu/pull-randomly-split) [](https://coveralls.io/github/jac
Readme
@jacobbubu/pull-randomly-split
Rewritten pull-randomly-split in TypeScript
pull-randomly-split
randomly split incoming buffers, to test that parsing works correctly.
import randomSplit from '@jacobbubu/pull-randomly-split'
pull(
pull.values(crypto.randomBytes(1024*1024)),
randomSplit(1024, 2096),
pull.collect(function () {
//...
})
)Please see test-cases for the usage.
License
MIT
