# uuidv7: 6.4 out of 10

Reasonable, with limits. 4th of 9 in [ID generators](https://elestia.ai/opensource/ids/index.md).

uuidv7 is a small, zero-dependency library from a single author that generates RFC 9562 UUIDv7 (and v4) IDs, with a careful monotonic counter design. It is a sound choice, but the uuid package now ships v7 too and has more maintainers, so most new projects have little reason to add this one.

**Best for:** Projects that need only time-ordered UUIDv7 keys and want a tiny, zero-dependency generator with strong ordering inside one process.

## Scores

- **Overall: 6.4** (likely 5.3 to 7.4)
  - Claude Opus 5.5 (5.5): It is a well-built UUIDv7 generator that works, is safe in footprint and is growing. The uuid package now covers v7 with far wider trust and more maintainers. That makes this package a reasonable but secondary pick: choose it for its counter design or its small size, and otherwise use uuid.
  - GPT-6.2 Sol (7.2): Choose uuidv7 when sortable UUIDs and configurable clock rollback behavior matter to your application. The broader uuid package is the better general-purpose UUID choice, and Nano ID is a better fit for compact links. A small maintainer base and the delay in shipping a known fix make the two-year outlook less certain than the core generator's performance.
- **Needed by many: 5.1** (likely 3.9 to 6.2)
  - Claude Opus 5.5 (5.0): Many backend and full-stack developers want time-sortable IDs for database keys. This package only makes UUIDv7 and v4 IDs, so it is narrower than the whole ID-generator category, which also covers short URL IDs and other formats.
  - GPT-6.2 Sol (5.1): Sortable UUIDs are useful for database keys and event IDs, and this package works across Node.js, browsers, and Deno. Many projects can generate IDs in the database or use shorter strings for links. The available survey measures runtime use, so the share of developers who need application-generated sortable UUIDs remains uncertain.
- **Helps a lot: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): It implements RFC 9562 with a well-documented 42-bit counter, handles clock rollbacks, and offers a fallible generateOrAbort() method. It has types, a byte-level object API and a CLI. Its scope is narrow, and uuid's v7() covers the same need with nearly the same quality.
  - GPT-6.2 Sol (8.0): The typed one-call API is easy to use, and separate generator instances expose clear controls for clock rollback. In an independent Node.js test, version 1.2.1 produced one million ordered IDs with no duplicates, ran about 8% faster than uuid, and resumed using the current time immediately after a simulated one-hour rollback. The default reset breaks order at that jump. Performance evidence comes from one test setup, and a downstream Hermes report exposed a fallback bug whose fix remains unreleased upstream.
- **Holds up over time: 5.7** (likely 4.2 to 7.1)
  - Claude Opus 5.5 (5.5): The repository had 25 commits and four npm versions in the past year, and it has no open issues. It depends on one unpaid author, though, and has only two contributors. Because uuid offers v7, the ecosystem may move away from a separate package. The code is small and stable, which lowers the risk if work slows.
  - GPT-6.2 Sol (5.8): The project recorded 25 commits and four npm versions over the past year, with the last publish in March 2026. The upstream fallback fix merged the day it was proposed in August, but it still has no npm release. The project has one identified npm maintainer and no visible funding, and newer versions of Node.js can generate UUIDv7 directly.
- **Used widely: 4.1** (likely 2.8 to 5.4)
  - Claude Opus 5.5 (4.5): It had 16.9M downloads in the last 4 weeks, up from 2.8M a year ago. That ratio of about 6.0 is above the 4.1 median, so the package is gaining ground. ecosyste.ms finds only 2 dependent repos and 8 dependent packages, and the repo has 272 stars. That suggests most installs come through other packages, and that a few thousand projects choose it directly.
  - GPT-6.2 Sol (3.6): Four-week installs rose from 2.79 million to 16.87 million, about 6.0 times the prior year and above the catalog median of 4.1 times. The tracked dependent footprint is far behind uuid, Nano ID, and ulid, and the bundle found no matching Hacker News or Bluesky posts. Heavy traffic on old releases and confirmed transitive installs make the number of projects choosing it directly hard to estimate.
- **Vouched for: 4.8** (likely 3.6 to 6.1)
  - Claude Opus 5.5 (3.0): I found no survey data, no independent benchmark and no named company that endorses it. Some smaller libraries, such as puidv7, build on it. A third-party comparison site recommends uuid instead for new projects.
  - GPT-6.2 Sol (6.5): PostHog ships copied uuidv7 code in its SDK, and Docker's Marlin web SDK depends on the npm package. An independent benchmark tested the current release and favored its clock rollback behavior for applications that care about the embedded time. These are concrete signs of trust, though package-level satisfaction and retention data are scarce.
- **Safe: 6.5** (likely 5.3 to 7.6)
  - Claude Opus 5.5 (6.5): It has zero dependencies, no advisories ever, and a permissive Apache-2.0 licence, so the attack surface is small. The OpenSSF Scorecard is 2.3: there is no branch protection, no code review, no security policy and no signed releases, and one person publishes it.
  - GPT-6.2 Sol (6.4): The permissive Apache-2.0 licence, zero runtime dependencies, and zero recorded OSV advisories keep the dependency risk down. The OpenSSF Scorecard is 2.3 out of 10, with zero scores for code review, branch protection, and security policy. One npm maintainer is identified, and the available checks leave the publishing process and release signing unverified. The default Math.random fallback adds risk in environments without Web Crypto.

## Good

- It has no dependencies, ships its own types and runs in Node, browsers and Deno.
- A 42-bit counter plus clock-rollback handling keeps IDs from one process in order.
- The API is small and clear: uuidv7(), uuidv7obj() for raw bytes, V7Generator, and a CLI.
- Downloads grew about sixfold in a year, faster than the median project.

## Bad

- The uuid package now offers v7() too, which takes away most of the reason to add a separate package.
- One maintainer, no GitHub releases, and an OpenSSF Scorecard of 2.3 with no branch protection or code review.
- Very few direct dependents, so most downloads come in through other packages.
- The CommonJS entry point is deprecated and no longer tested.

## The numbers

- Downloads, 4 weeks: 17M
- In a year: ×6.0
- GitHub stars: 272
- Commits, 12 months: 25
- Last npm release: Mar 2026
- Advisories, 24 months: 0
- Licence: Apache-2.0
- GitHub: https://github.com/LiosK/uuidv7
- npm: https://www.npmjs.com/package/uuidv7

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.
