Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

cuid2

Collision-resistant unique ID generator optimized for databases.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/ericelliott/cuid2

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What cuid2 does

Collision-resistant unique ID generator optimized for databases.

cuid2 popularity

62 / 100
Gid Score, #876 overall
30.9M
downloads a week, npm
3,407
GitHub stars
19
agent projects use it
cuid2: downloads per weeknpm, @paralleldrive/cuid2 30,882,192
cuid2: GitHub starsericelliott/cuid2 3,407

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How cuid2 is used

  • cuid2 is a dependency in 19 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 43 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is uuid (297 projects).
  • Projects that use it most often also use Tailwind Merge (88.4%), Zod (93.0%), Class Variance Authority (83.7%).

By coding agent

10 projects, 0.3%
10 projects, 0.3%
7 projects, 0.3%

Often used with

In 88.4% of its projects
In 93.0% of its projects
In 83.7% of its projects
In 81.4% of its projects
In 79.1% of its projects
In 76.7% of its projects
In 72.1% of its projects
In 95.3% of its projects

More about cuid2

More in Utilities

Alternatives

cuid2 This page

MITGid 6230.9M/wk

uuid

Generate RFC9562 compliant UUIDs for unique identifiers in applications.

MITGid 81402M/wk

Nanoid (JavaScript)

Tiny, secure, URL-friendly unique string ID generator for JavaScript.

MITGid 81399M/wk

Compare cuid2 with another tool

Get started

Install it.

npm install @paralleldrive/cuid2

No step-by-step start for cuid2 yet: we have not written its hand-checked card.