Skip to content
JS
Package

react-native-get-random-values

A small implementation of `crypto.getRandomValues` for React Native. This is useful to polyfill for libraries like [uuid](https://www.npmjs.com/package/uuid) that depend on it.

v2.0.0, 22 Oct 2025MIT-Types: NoneCryptography and hashingReact
$ npm install react-native-get-random-values

Key numbers

As of 25 Sept 2026
Weekly downloads
1.9m
+65% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
11 months ago
v2.0.0
GitHub stars
415
63 forks
Open issues / PRs
4 / 5
Contributors
-
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.7m (25 Aug 2026)Low 624.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.

1,871,768 downloads last week, 8,515,944 in the last month. The 12-month change of +65% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
118 in total
Latest version
2.0.0, 22 Oct 202511 months ago
First published
20 Aug 2018
Last push to GitHub
22 Oct 2025337 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
5
Commits, last 52 weeks
4
Dependents on npm
374

Major versions

  1. v2 first release 2.0.0, 22 Oct 2025
  2. v1 first release 1.0.0, 20 Aug 2018

Recent releases

VersionPublished
2.0.022 Oct 2025
1.11.06 Mar 2024
1.10.020 Nov 2023
1.9.018 May 2023
1.8.02 May 2022
1.7.222 Dec 2021
1.7.115 Nov 2021
1.7.012 Apr 2021
1.6.016 Feb 2021
1.5.18 Jan 2021
1.5.03 Sept 2020
1.4.020 Apr 2020
1.3.120 Mar 2020
1.3.010 Mar 2020
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
11 kB
Dependencies (1)
fast-base64-decode
Peer dependencies (1)
react-native
npm install react-native-get-random-values
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-native-get-random-values@2.0.0/
  • unpkghttps://unpkg.com/react-native-get-random-values@2.0.0/
  • esm.shhttps://esm.sh/react-native-get-random-values@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
crypto-randomuuid1.1m-5 years agoCommonJS-
random-poly-fill19.4k-7 years agoCommonJS-
react-native-aes-crypto34.5k-7 months agoCommonJS-
bigint-crypto-utils69.8k-3 years agoESM + CommonJS-
crypto-random-string23.8m-2 months agoESM only-
react-native-securerandom136.5k-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.