Skip to content
JS
Package

get-random-values

`window.crypto.getRandomValues` with fallback to Node.js crypto

v5.0.1, 23 Aug 2026MITCommonJSTypes: BundledCryptography and hashing
$ npm install get-random-values

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
0100k200k300k400kSept 2025Mar 2026Sept 2026High 361.7k (25 Aug 2026)Low 100.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/get-random-values@5.0.1/
  • unpkghttps://unpkg.com/get-random-values@5.0.1/
  • esm.shhttps://esm.sh/get-random-values@5.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
create-hash12.3m-8 years agoCommonJS-
webcrypto6.1k-8 years agoCommonJS-
randombytes27.1m-7 years agoCommonJS-
minimalistic-crypto-utils12.4m-9 years agoCommonJS-
evp_bytestokey10.9m-9 years agoCommonJS-
md5.js10.8m-7 years agoCommonJS-
create-hmac10.7m-8 years agoCommonJS-
randomfill10.3m-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.