Skip to content
JS
Package

randombytes

random bytes from browserify stand alone

v2.1.0, 19 Feb 2019MITCommonJSTypes: NoneCryptography and hashing
$ npm install randombytes

Key numbers

As of 25 Sept 2026
Weekly downloads
27.1m
-13% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v2.1.0
GitHub stars
102
47 forks
Open issues / PRs
6 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 42m (24 Feb 2026)Low 18.1m (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.

27,132,418 downloads last week, 124,517,875 in the last month. The 12-month change of -13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
2.1.0, 19 Feb 20197 years ago
First published
15 Jan 2015
Last push to GitHub
21 Dec 2024642 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
2,179

Major versions

  1. v2 first release 2.0.0, 18 Jan 2015
  2. v1 first release 1.0.0, 15 Jan 2015

Recent releases

VersionPublished
2.1.019 Feb 2019
2.0.610 Jan 2018
2.0.57 Jun 2017
2.0.42 Jun 2017
2.0.32 Mar 2016
2.0.213 Jan 2016
2.0.122 Jan 2015
2.0.018 Jan 2015
1.0.015 Jan 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
6.2 kB
Dependencies (1)
safe-buffer
npm install randombytes
  • jsDelivrhttps://cdn.jsdelivr.net/npm/randombytes@2.1.0/
  • unpkghttps://unpkg.com/randombytes@2.1.0/
  • esm.shhttps://esm.sh/randombytes@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
brorand12.5m-9 years agoCommonJS-
seedrandom6.3m-7 years agoCommonJS-
csprng1.2m-9 years agoCommonJS-
crypto-randomuuid1.1m-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.