# uuid: 7.9 out of 10

A strong pick. 2nd of 9 in [ID generators](https://elestia.ai/opensource/ids/index.md).

uuid is the standard JavaScript library for RFC 9562 UUIDs: v1, v3, v4, v5, v6 and v7, plus validate and parse. It has zero dependencies and is actively maintained. It is a strong pick when you need v7, name-based v5 or UUID utilities, but for plain random v4 IDs the built-in crypto.randomUUID() now does the job with no dependency.

**Best for:** Projects that need standard UUIDs, especially time-ordered v7 or deterministic v5, for databases and external systems.

## Scores

- **Overall: 7.9** (likely 6.8 to 8.6)
  - Claude Opus 5.5 (7.5): It is the clear pick when you need real RFC UUIDs beyond v4, especially v7 primary keys. It is correct, typed, dependency-free and maintained. It falls short of the category default because crypto.randomUUID() covers the common v4 case, Nano ID is gaining faster for short IDs, and frequent ESM-only majors add friction.
  - GPT-6.2 Sol (8.2): Uuid is a strong choice for new projects that need standard UUIDs across runtimes, especially when they also need deterministic generation or validation. Built-in APIs cover common v4 and some v7 use cases, and Nano ID is a better fit for compact links when UUID compatibility is optional. Active maintenance supports the recommendation, while breaking upgrades and below-median install growth limit confidence in broader adoption.
- **Needed by many: 6.9** (likely 5.8 to 8.0)
  - Claude Opus 5.5 (7.0): Most apps that store records need unique IDs, and UUIDs are the format databases and APIs expect. Still, many developers need only v4, which crypto.randomUUID() now covers natively. That leaves the package's own value to people who need v7, v5 or the utilities.
  - GPT-6.2 Sol (6.8): Records, links, and files commonly need IDs, and UUIDs work across browsers, servers, and databases. Built-in v4 generation covers many simple cases, and format requirements determine how many teams need a separate library.
- **Helps a lot: 8.1** (likely 7.0 to 9.0)
  - Claude Opus 5.5 (7.5): It has full RFC 9562 coverage, including v7 and v6, plus validate, parse and version helpers, ships types and has zero dependencies. Recent patches fixed v1 and v7 correctness edge cases. It is limited by ESM-only packaging, which breaks some Jest and CommonJS setups, and it adds little over the native randomUUID for v4.
  - GPT-6.2 Sol (8.6): Version 14.0.3 covers the main UUID generation modes and includes validation, version detection, and byte conversion. Named exports and typed examples make common calls straightforward for developers and coding agents. The default v4 path uses native generation when available, while the independent benchmark covers an older release and leaves current performance across runtimes less certain.
- **Holds up over time: 7.3** (likely 6.2 to 8.3)
  - Claude Opus 5.5 (7.0): The project is actively maintained, with 36 commits and 8 releases in the last year, zero open issues and a 15-year history. A small volunteer team does the work, with no visible funding. Majors v12, v13 and v14 shipped within about seven months, which forces upgrade churn. Native randomUUID also shrinks the package's role over time.
  - GPT-6.2 Sol (7.6): Eight releases and 36 commits in the last year show ongoing maintenance, and the October release addressed a Node.js compatibility test report within eight days. Dropping the CommonJS build broke some downstream setups, and Node.js 24 LTS now includes native v7 generation. Long-term funding and the number of people who can publish remain unclear.
- **Used widely: 8.6** (likely 7.5 to 9.3)
  - Claude Opus 5.5 (9.0): It has about 1.6B downloads every 4 weeks and about 1.0M dependent repos, one of the most-used packages on npm. Most downloads are transitive. Its year-over-year ratio of 2.26 is well below the 4.1 median and below Nano ID's 5.3, so its share of new choices is falling.
  - GPT-6.2 Sol (8.1): The collector found about one million dependent repositories and 41,000 dependent npm packages, behind Nano ID on tracked repositories and well ahead of most peers. Four-week installs grew 2.26× year over year, below the 4.1× catalog median and Nano ID's 5.30×. Transitive installs inflate the total, and the dependent counts alone cannot show how many new projects choose uuid.
- **Vouched for: 6.8** (likely 5.7 to 7.9)
  - Claude Opus 5.5 (6.5): Countless major projects and SDKs depend on it, and independent 2026 guides name it the choice for standard UUIDs. No developer survey measures it, and the same guides increasingly point v4 users to the native API. Most of the trust comes from long use, not from current, independent evaluation.
  - GPT-6.2 Sol (7.1): Temporal's TypeScript client and n8n's core package still depend on uuid, with their manifests pointing to the v11 line. Firebase Admin moved to native crypto, and AWS SDK clients switched to their own UUID package. Evidence for v14 in production is thinner, and the State of JavaScript survey provides no package-specific satisfaction measure.
- **Safe: 7.0** (likely 5.9 to 8.1)
  - Claude Opus 5.5 (7.0): It has zero dependencies and an MIT licence. Its only advisory, a moderate buffer bounds bug from 2026, was fixed and backported to three major lines. The Scorecard of 4.4 is weak: Dangerous-Workflow, Token-Permissions and Security-Policy all score 0. Because the package is so widely installed, it would be a high-value target for a supply-chain attack.
  - GPT-6.2 Sol (7.0): The MIT license and zero runtime dependencies keep dependency risk small. The moderate buffer-handling advisory was fixed in v14.0.0, with patches for three older release lines. Releases publish with npm provenance using a stored token, while weak workflow, token-permission, and code-review scores leave uncertainty about the release controls.

## Good

- It covers every RFC 9562 version you are likely to need: v1, v3, v4, v5, v6 and v7, plus validate, parse, stringify and version.
- It has zero runtime dependencies and ships TypeScript types.
- It is actively maintained: 8 releases in the last year, and the 2026 security fix was backported to the v11, v12 and v13 lines.
- Almost every database, API and AI coding agent knows the API well.

## Bad

- For random v4 IDs, the built-in crypto.randomUUID() makes the package unneeded.
- Since v12 it ships ESM only, and three majors in about seven months caused Jest and CommonJS friction for users.
- The OpenSSF Scorecard is 4.4, with 0 on Dangerous-Workflow, Token-Permissions and Security-Policy.
- Its downloads grew more slowly than the median and than Nano ID, so it is losing share.

## The numbers

- Downloads, 4 weeks: 1.6B
- In a year: ×2.3
- GitHub stars: 15k
- Commits, 12 months: 36
- Last npm release: Oct 2026
- Advisories, 24 months: 1
- Licence: MIT
- GitHub: https://github.com/uuidjs/uuid
- npm: https://www.npmjs.com/package/uuid

Many packages install it, so most downloads are not a direct choice.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
