# ulid: 6.5 out of 10

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

ulid is the reference JavaScript library for ULIDs: 26-character IDs that sort by creation time. It is small, has no dependencies and works well. But it has one maintainer who releases slowly, and for new database keys the standard UUIDv7 (from uuid or uuidv7) is now often the better pick.

**Best for:** Projects that want short, time-sortable, case-insensitive string IDs and prefer the ULID format.

## Scores

- **Overall: 6.5** (likely 5.5 to 7.5)
  - Claude Opus 5.5 (6.0): ulid is a sound, small, dependency-free library for a format that is still popular, and its use is growing. Thin maintenance, open bug reports without answers, and the rise of standard UUIDv7 keep it below uuid and Nano ID. It is a reasonable pick when you want the ULID format in particular.
  - GPT-6.2 Sol (7.0): ulid is a strong pick when the 26-character ULID format is a requirement, especially when one generator must preserve order within a millisecond. For a new database schema, uuid v7 is the better default when standard UUID support matters, and Nano ID is a stronger fit for short random strings. Slow maintenance and an open validation bug limit confidence in future fixes, even as downloads gain ground.
- **Needed by many: 5.7** (likely 4.6 to 6.8)
  - Claude Opus 5.5 (6.0): Most apps that store records need IDs, so the category is broad. ULID's take, time-sortable string IDs, mainly serves database keys and logs, and it competes there with UUIDv7. It runs on every major JS runtime.
  - GPT-6.2 Sol (5.3): Generating IDs is common across web apps, services, and tools. ulid serves the narrower group that benefits from compact text IDs that sort by time, across Node.js, browsers, and other supported runtimes. Built-in UUID generation covers many projects, and the survey gives little direct evidence about how many teams need ULID specifically.
- **Helps a lot: 6.6** (likely 5.6 to 7.7)
  - Claude Opus 5.5 (6.0): It does one job correctly: secure random IDs, monotonic generation, time decoding, and types. It is missing binary and UUID conversion. One open report of a malformed ID and one of slow non-monotonic generation have no answer. UUIDv7 libraries give the same ordering in a standard format that databases and AI agents know better.
  - GPT-6.2 Sol (7.2): Version 3.0.2 has a small, documented TypeScript API for generation, per-factory monotonic ordering, timestamp decoding, and UUID conversion. The examples make the common calls straightforward for developers and coding agents. The validator misses a timestamp bound, and outside benchmarks put default generation well behind UUIDv7 in bulk. The size of that speed gap depends on the runtime and workload.
- **Holds up over time: 5.1** (likely 3.4 to 6.3)
  - Claude Opus 5.5 (5.0): The maintainer of ulidx took over in 2025 and shipped v3 and two patch releases. Since then there have been only 3 commits in a year, the last push was in February 2026, and the Scorecard Maintained check is 0. The spec is stable, so little work is needed, but there is one releaser and no known funding.
  - GPT-6.2 Sol (5.2): The repository recorded three commits and one release in the past year, and fixes for validation and performance are still waiting. Version 3 removed legacy entry points, and one account handled the recent releases. A small, established format can stay useful with few changes. Faster-moving peers and built-in UUIDv7 support make the outlook less certain.
- **Used widely: 5.9** (likely 4.8 to 7.0)
  - Claude Opus 5.5 (6.0): Downloads rose from 10.2M to 69.9M per 4 weeks. That ratio of 6.9 beats the 4.1 median, but part of the jump is probably installs through other tools. ecosyste.ms counts 12k dependent repositories: far below Nano ID and uuid (over 1M each), but above Hashids and short-uuid.
  - GPT-6.2 Sol (5.8): Four-week downloads rose from 10.2 million to 69.9 million, about 6.9× year over year against the catalog median of 4.1×. ecosyste.ms found 12,027 dependent repositories and 482 packages, well below uuid and Nano ID in tracked repositories. The growth signals rising use, while automated and transitive installs make it hard to tell how many new projects chose ulid directly.
- **Vouched for: 5.7** (likely 4.1 to 6.8)
  - Claude Opus 5.5 (5.0): ULID is a widely known format, and independent comparisons and an arXiv paper discuss it. None of them endorse this library in particular. No surveys, benchmarks, or named production users vouch for it, and there were no Hacker News or Bluesky posts.
  - GPT-6.2 Sol (6.4): Netlify CLI ships with ulid v3, and the Inngest SDK still depends on v2. The Lasterm maintainers documented their upgrade to 3.0.2 and verified their Windows builds. These are concrete examples of downstream use, with little survey evidence on satisfaction or retention for this specific package.
- **Safe: 6.7** (likely 5.6 to 7.8)
  - Claude Opus 5.5 (7.0): It has zero dependencies, no advisories, and an MIT licence. A low-severity randomness bias was fixed in v3.0.2. The Scorecard is 3, with no branch protection, no security policy, and unpinned dependencies, and one person publishes releases.
  - GPT-6.2 Sol (6.3): The MIT license is permissive, and zero runtime dependencies limit exposure. The OSV snapshot is clear, and Aikido records a low-severity randomness bias fixed in 3.0.2 nine days after the public report, following an earlier private report. OpenSSF scores the project 3 out of 10, with weak code review and zero scores for branch protection, workflow token permissions, pinned dependencies, and a security policy. npm lists two collaborators, recent releases came from one account, and publishing provenance remains unverified.

## Good

- It has zero dependencies, ships TypeScript types and offers both ESM and CommonJS entry points.
- monotonicFactory keeps IDs strictly ordered within the same millisecond.
- It uses a cryptographically secure random source by default, and v3.0.2 fixed a bias in random generation.
- v3 runs in Node 18+, browsers, React Native and Web Workers.

## Bad

- Maintenance is thin: 3 commits and one release in the last year, and open issues such as a malformed-ID report have no visible reply.
- ULID is not an IETF standard, while UUIDv7 (RFC 9562) gives the same time ordering and databases support it natively.
- The v3 rewrite removed factory, detectPrng, AMD and script-tag use, which broke older code.
- It has no built-in conversion to 16-byte arrays or UUIDs, which users have asked for.

## The numbers

- Downloads, 4 weeks: 70M
- In a year: ×6.9
- GitHub stars: 3.4k
- Commits, 12 months: 3
- Last npm release: Nov 2025
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/ulid/javascript
- npm: https://www.npmjs.com/package/ulid

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.
