Package
get-random-values
`window.crypto.getRandomValues` with fallback to Node.js crypto
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 215.8k
- +9% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 month ago
- v5.0.1
- GitHub stars
- 18
- 7 forks
- Open issues / PRs
- 2 / 0
- Contributors
- -
- Commits, last 52 weeks
- 145
Downloads
Last week 2026-09-15 to 2026-09-21
215,845 downloads last week, 1,191,351 in the last month. The 12-month change of +9% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.1, 23 Aug 20261 month ago
- First published
- -
- Last push to GitHub
- 22 Sept 20262 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 145
- Dependents on npm
- 147
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- 22 || >=24
- Runtimes
- -
- Unpacked size (npm)
- 5.1 kB
- Dependencies (1)
window-or-global
npm install get-random-values- jsDelivr
https://cdn.jsdelivr.net/npm/get-random-values@5.0.1/ - unpkg
https://unpkg.com/get-random-values@5.0.1/ - esm.sh
https://esm.sh/get-random-values@5.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| create-hash | 12.3m | - | 8 years ago | CommonJS | - |
| webcrypto | 6.1k | - | 8 years ago | CommonJS | - |
| randombytes | 27.1m | - | 7 years ago | CommonJS | - |
| minimalistic-crypto-utils | 12.4m | - | 9 years ago | CommonJS | - |
| evp_bytestokey | 10.9m | - | 9 years ago | CommonJS | - |
| md5.js | 10.8m | - | 7 years ago | CommonJS | - |
| create-hmac | 10.7m | - | 8 years ago | CommonJS | - |
| randomfill | 10.3m | - | 8 years ago | CommonJS | - |
Indexability: Indexed.