Skip to content
JS
Package

cuid

Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.

v3.0.0, 24 Jan 2023MITCommonJSTypes: BundledCryptography and hashing
$ npm install cuid
Deprecated on npm
Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.

Key numbers

As of 25 Sept 2026
Weekly downloads
584.5k
+44% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v3.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 872.8k (25 Aug 2026)Low 261.9k (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.

584,452 downloads last week, 2,838,711 in the last month. The 12-month change of +44% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
032 in total
Latest version
3.0.0, 24 Jan 20233 years ago
First published
12 Sept 2012
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 24 Jan 2023
  2. v2 first release 2.0.1, 4 Jan 2018
  3. v1 first release 1.0.1, 12 Sept 2012

Recent releases

VersionPublished
3.0.024 Jan 2023
2.1.816 Dec 2019
2.1.69 Feb 2019
2.1.58 Feb 2019
2.1.428 Aug 2018
2.1.321 Aug 2018
2.1.215 Aug 2018
2.1.11 Apr 2018
2.1.08 Feb 2018
2.0.24 Jan 2018
2.0.14 Jan 2018
1.3.825 Aug 2015
1.3.525 Aug 2015
1.3.425 Aug 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (0)
None
npm install cuid
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cuid@3.0.0/
  • unpkghttps://unpkg.com/cuid@3.0.0/
  • esm.shhttps://esm.sh/cuid@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
short-uuid446.3k-9 months agoCommonJS-
short-unique-id968.9k-1 year agoCommonJS-
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet.