{"library":"iso-random-stream","type":"library","category":null,"description":"iso-random-stream provides an isomorphic (Node.js and browser compatible) readable stream for cryptographic random bytes. In Node.js environments, it leverages `crypto.randomBytes`, while in browsers, it utilizes `Crypto.getRandomValues()` for secure randomness. The package is currently at version 2.0.2, primarily releasing bug fixes and minor updates after a significant breaking change in version 2.0.0. The v2.0.0 release refactored the internal implementation, removed an explicit `Buffer` dependency, and introduced first-party TypeScript type definitions. Unlike some alternatives, it offers a streaming interface, which is beneficial for generating large quantities of random data without consuming excessive memory upfront.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","stream","random","bytes","isomorphic","node","browser","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install iso-random-stream","imports":["import { randomStream } from 'iso-random-stream';","const { randomStream } = require('iso-random-stream');"]},{"cmd":"yarn add iso-random-stream","imports":[]},{"cmd":"pnpm add iso-random-stream","imports":[]}],"homepage":null,"github":"https://github.com/hugomrdias/iso-random-stream","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/iso-random-stream","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/iso-random-stream/compatibility"}}