1,376 packages matching “Math.random”
math-random
v2.0.1 · 5 years ago
math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available
No known vulnerabilities
seedable-random
v0.0.1 · 12 years ago
Seedable Math.random compatible pseudorandom number generator
No known vulnerabilities
polyfill-crypto.getrandomvalues
v1.0.0 · 10 years ago
This is a polyfill for `window.crypto.getRandomValues()`. In place of `Math.random()` it uses the [Mersenne Twister pseudorandom number generator](https://github.com/boo1ean/mersenne-twister) seeded by `Math.random()`.
No known vulnerabilities
jest-mock-random
v1.1.1 · 5 years ago
Math.random() as a deterministic jest mock function
No known vulnerabilities
unrandomize
v0.1.0 · 4 years ago
Override Math.random
No known vulnerabilities
predict-v8-randomness
v1.0.35 · 1 year ago
Predict the output of Math.random
No known vulnerabilities
math-random-seed
v2.0.1 · 11 months ago
Similar to random-bytes-seed but returns a number between 0 and 1, similar to Math.random()
No known vulnerabilities
js-randomness-predictor
v4.0.2 · 1 month ago
Predict Math.random output in Node, Deno, Bun, Chrome, Firefox, and Safari
No known vulnerabilities
best-random
v1.0.3 · 6 years ago
A replacement for Math.random() that is tiny, fast, seedable, and has good statistical properties.
No known vulnerabilities
@glissade/eslint-plugin
v0.79.0 · 23 days ago
ESLint rules enforcing glissade's determinism contract in scene code: no wall-clock reads, no unseeded Math.random, no async in the evaluate() path.
No known vulnerabilities
@aws-crypto/random-source-browser
v5.2.0 · 2 years ago
Access to a secure random source in a browser. `Math.random` is not acceptable for cryptographic operations. This module exports a consistent interface for modern browsers.
No known vulnerabilities
storybook-addon-determinism
v0.1.2 · 12 days ago
Storybook addon that seeds Math.random and crypto for deterministic stories, snapshots, and visual regression tests.
No known vulnerabilities
random-number-generator
v1.0.2 · 11 years ago
A better Math.random()
No known vulnerabilities
jest-random-mock
v1.0.0 · 2 years ago
Mock `Math.random` when run unit test cases with jest, output deterministic random number.
No known vulnerabilities
@dudousxd/nestjs-durable-eslint-plugin
v0.4.1 · 1 month ago
ESLint rule: flag non-deterministic calls (Date.now, Math.random, …) inside a @Workflow run
No known vulnerabilities
v4-uuid
v1.1.0 · 7 years ago
Simple Version 4 (random) UUID generator for browser, without any dependencies. Calls `Math.random()` twice to generate a single UUID.
No known vulnerabilities
ai-math-random
v1.2.0 · 3 years ago
Math.random - but with AI
No known vulnerabilities
crypto-random
v2.1.0 · 1 year ago
A cryptographically strong random number generator. Designed to be a drop-in replacement for Math.random. Can be used with Node or in a browser.
No known vulnerabilities
js-randomness-predictor-cpp
v1.1.0 · 1 year ago
Node.js native addon (C++) for high-performance Math.random() prediction
No known vulnerabilities
math-random-id
v1.0.6 · 7 years ago
Generate random id on Math.random()
No known vulnerabilities