paralleldrive/cuid2
The most secure, collision-resistant ids optimized for horizontal scaling and performance. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 97
- Release rhythm 35
- Longevity 96
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1346
- days_rel: n/a
- days_push: 21
- n_releases_24m: 0
Adoption not part of the score
3394 stars · 72 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Cuid2 is a JavaScript library and CLI for generating secure, collision-resistant unique identifiers optimized for horizontal scaling and performance. It uses multiple independent entropy sources hashed with SHA-3 to produce URL-friendly IDs without coordination between machines.
Use cases
- generate unique ids for database records
- replace uuids with collision-resistant ids
- generate ids across multiple servers without coordination
- create url-friendly unique identifiers
- generate unique ids offline without a network
- generate ids from the command line
When to choose
- you need secure, non-guessable unique ids in a distributed or horizontally scaled system
- you want url-safe ids without special characters
- you need offline id generation with no coordination service
When to avoid
- you need sequential or k-sortable ids
- you need maximum speed in tight loops like render loops where security and cross-host uniqueness are not required
Facets
library · maturity active
security cryptography developer-tools cli developer-tools security web-development databases cross-platform cli unique-ids id-generation collision-resistant uuid-alternative cuid nodejs javascript
1 source
- readme: https://github.com/paralleldrive/cuid2 · fetched 2026-08-28 · d3b04f2caa38
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| paralleldrive/cuid2 | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="paralleldrive/cuid2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem