Package Exports
- iso-random-stream
- iso-random-stream/src/random
- iso-random-stream/src/random.browser.js
- iso-random-stream/src/random.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iso-random-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iso-random-stream

Random bytes stream for node and browser. Uses crypto.randomBytes(size[, callback]) in node and Crypto.getRandomValues() in the browser.
Install
$ npm install iso-random-stream
Usage
const randomStream = require('iso-random-stream');
randomStream('100').pipe(process.stdout);
API
randomBytesStreamIso(size)
Returns a stream.Readable
. By default, it produces infinite data.
size
Type: number
Default: Infinity
Number of random bytes to produce.
License
MIT © Hugo Dias