Random bytes stream for node and browser
npm install iso-random-stream> Random bytes stream for node and browser. Uses [crypto.randomBytes(size[, callback])](https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback) in node and Crypto.getRandomValues() in the browser. We use Buffer to keep the interfaces and returns values consistent, so make sure your bundler includes buffer in the browser.
```
$ npm install iso-random-stream
`js
const { randomStream } = require('iso-random-stream')
randomStream('100').pipe(process.stdout)
`
Returns a stream.Readable. By default, it produces infinite data.
#### size
Type: numberInfinity`
Default:
Number of random bytes to produce.
MIT © Hugo Dias