davidbau/seedrandom
seeded random number generator for Javascript observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4864
- days_rel: n/a
- days_push: 860
- n_releases_24m: 0
Adoption not part of the score
2132 stars · 168 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library providing seeded pseudorandom number generators, including an ARC4-based PRNG and fast alternatives like Alea. It can replace Math.random with a deterministic generator or create local seeded PRNG instances, usable as a script, Node.js module, or AMD module.
Use cases
- generate reproducible random numbers in JavaScript tests
- seed Math.random for deterministic simulations
- create predictable procedural generation in games
- shuffle data deterministically across runs
- add entropy to an explicit seed for better randomness
- use a fast Alea PRNG in performance-sensitive code
When to choose
- you need reproducible/deterministic randomness in JavaScript
- you want to derandomize code for testing
- you need a lightweight PRNG usable in browser or Node.js
When to avoid
- you need cryptographically secure randomness for security-sensitive purposes
- you need random numbers in a non-JavaScript environment
Facets
library · maturity maintenance
sdk developer-tools developer-tools programming-languages browser cross-platform prng seeded-random javascript deterministic alea arc4 algorithms nodejs
2 sources
- readme: https://github.com/davidbau/seedrandom · fetched 2026-08-28 · 8d1eced5ded4
- registry_npm: https://registry.npmjs.org/seedrandom · fetched 2026-08-29 · bdb0adfda6ad
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| davidbau/seedrandom | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="davidbau/seedrandom")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem