npm explorer

Results for "math.random"

/

Showing 1-20 of 1,241 packages

math-random

v2.0.1

math-random is an isomorphic, drop-in replacement for `Math.random` that uses cryptographically secure random number generation, where available

5 years ago0/week
Quality100%
Popularity100%
Maintenance100%

seedable-random

v0.0.1

Seedable Math.random compatible pseudorandom number generator

seedablerandomprng
12 years ago

polyfill-crypto.getrandomvalues

v1.0.0

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()`.

9 years ago0/week
Quality100%
Popularity100%
Maintenance100%

unrandomize

v0.1.0

Override Math.random

3 years ago292/week
Quality100%
Popularity100%
Maintenance100%

jest-mock-random

v1.1.1

Math.random() as a deterministic jest mock function

mathjestmockrandom

predict-v8-randomness

v1.0.35

Predict the output of Math.random

v8math.randompredictz3

js-randomness-predictor

v3.3.1

Predict Math.random output in Node, Deno, Bun, Chrome, Firefox, and Safari

predict-javascript-math-randompredictjavascriptmath.random

math-random-seed

v2.0.1

Similar to random-bytes-seed but returns a number between 0 and 1, similar to Math.random()

6 months ago0/week
Quality100%
Popularity100%
Maintenance100%

best-random

v1.0.3

A replacement for Math.random() that is tiny, fast, seedable, and has good statistical properties.

randomprngrngseedable

@aws-crypto/random-source-browser

v5.2.0

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.

2 years ago0/week
Quality100%
Popularity100%
Maintenance100%

random-number-generator

v1.0.2

A better Math.random()

randomnumbergenerator/dev/random

@lowerdeck/random-number

v1.0.4

Generate random integers within a specified range. Simple wrapper around Math.random() with inclusive bounds.

1 months ago0/week
Quality100%
Popularity100%
Maintenance100%

@kottetall/random

v0.0.9

A lightweight utility library for generating pseudo-random values in JavaScript based of `Math.random()`.

randomrandom-utilsutilityutils

crypto-random

v2.1.0

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.

randomrandom numbercrypto-randomcrypto random

v4-uuid

v1.1.0

Simple Version 4 (random) UUID generator for browser, without any dependencies. Calls `Math.random()` twice to generate a single UUID.

6 years ago0/week
Quality100%
Popularity100%
Maintenance100%

jest-random-mock

v1.0.0

Mock `Math.random` when run unit test cases with jest, output deterministic random number.

jestmockjest-random-mockrandom

ai-math-random

v1.2.0

Math.random - but with AI

mathrandomMath.randomai

hyperdyperid

v1.2.0

Fastest random ID and random string generation for Node.js

3 years ago0/week
Quality100%
Popularity100%
Maintenance100%

laplace

v0.0.2

A mock generator to replace Math.random() for testing

randomtesttestingmock

tslint-no-math-random

v1.0.1

TSLint rule to disallow Math.random() usage

custom-rulesrulestslinttypescript
Page 1 of 63
Next
0/week
Quality100%
Popularity100%
Maintenance100%
5 years ago0/week
Quality100%
Popularity100%
Maintenance100%
cli
+2 more
9 months ago0/week
Quality100%
Popularity100%
Maintenance100%
Math.random
+5 more
1 weeks ago0/week
Quality100%
Popularity100%
Maintenance100%
seed
5 years ago0/week
Quality100%
Popularity100%
Maintenance100%
dev
+4 more
11 years ago0/week
Quality100%
Popularity100%
Maintenance100%
helpers
+10 more
2 days ago0/week
Quality100%
Popularity100%
Maintenance100%
crypto
+6 more
10 months ago0/week
Quality100%
Popularity100%
Maintenance100%
1 years ago0/week
Quality100%
Popularity100%
Maintenance100%
chatGPT
2 years ago0/week
Quality100%
Popularity100%
Maintenance100%
12 years ago7/week
Quality100%
Popularity100%
Maintenance100%
tslint-plugin
+1 more
8 years ago0/week
Quality100%
Popularity100%
Maintenance100%