Skip to content
JS
Package

csprng

Secure random numbers of any size in any base

v0.1.2, 29 Jan 2017MITCommonJSTypes: NoneCryptography and hashing
$ npm install csprng

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2m
+72% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
9 years ago
v0.1.2
GitHub stars
36
7 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (21 Jul 2026)Low 430.6k (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,200,218 downloads last week, 5,721,189 in the last month. The 12-month change of +72% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
03 in total
Latest version
0.1.2, 29 Jan 20179 years ago
First published
14 Sept 2013
Last push to GitHub
8 Jan 20221,721 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
28

Major versions

  1. v0 first release 0.1.0, 14 Sept 2013

Recent releases

VersionPublished
0.1.229 Jan 2017
0.1.114 Sept 2013
0.1.014 Sept 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.6.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
sequin
npm install csprng
  • jsDelivrhttps://cdn.jsdelivr.net/npm/csprng@0.1.2/
  • unpkghttps://unpkg.com/csprng@0.1.2/
  • esm.shhttps://esm.sh/csprng@0.1.2
PackageWeekly downloadsGzipLast releaseModuleComparison
randombytes27.1m-7 years agoCommonJS-
randomfill10.3m-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.