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.
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
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
- v2 first release 2.0.0, 22 Oct 2025
- v1 first release 1.0.0, 20 Aug 2018
Recent releases
| Version | Published |
|---|---|
| 2.0.0 | 22 Oct 2025 |
| 1.11.0 | 6 Mar 2024 |
| 1.10.0 | 20 Nov 2023 |
| 1.9.0 | 18 May 2023 |
| 1.8.0 | 2 May 2022 |
| 1.7.2 | 22 Dec 2021 |
| 1.7.1 | 15 Nov 2021 |
| 1.7.0 | 12 Apr 2021 |
| 1.6.0 | 16 Feb 2021 |
| 1.5.1 | 8 Jan 2021 |
| 1.5.0 | 3 Sept 2020 |
| 1.4.0 | 20 Apr 2020 |
| 1.3.1 | 20 Mar 2020 |
| 1.3.0 | 10 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- jsDelivr
https://cdn.jsdelivr.net/npm/react-native-get-random-values@2.0.0/ - unpkg
https://unpkg.com/react-native-get-random-values@2.0.0/ - esm.sh
https://esm.sh/react-native-get-random-values@2.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| crypto-randomuuid | 1.1m | - | 5 years ago | CommonJS | - |
| random-poly-fill | 19.4k | - | 7 years ago | CommonJS | - |
| react-native-aes-crypto | 34.5k | - | 7 months ago | CommonJS | - |
| bigint-crypto-utils | 69.8k | - | 3 years ago | ESM + CommonJS | - |
| crypto-random-string | 23.8m | - | 2 months ago | ESM only | - |
| react-native-securerandom | 136.5k | - | 4 years ago | CommonJS | - |
Indexability: Indexed.