TypeID
Reasonable, with limits. 8th of 9 ID generators.
typeid-js is Jetify's official TypeScript implementation of TypeID. A TypeID is a Stripe-style ID made of a type prefix and a UUIDv7, such as user_01h..., and the TypeScript type checks the prefix. The idea is good and the code works, but there has been no npm release since February 2025 and nobody has answered recent issues, so treat it as a reasonable pick with real upkeep risk.
Best for: TypeScript teams that want prefixed, sortable IDs that convert to UUIDs and match TypeID libraries in other languages.
Scores
Overall5.4
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.5, likely 3.5 to 5.5
TypeID is a sound design and this is its reference TypeScript library, so it fits teams that want typed, prefixed UUIDv7 IDs. Releases have stopped, issues go unanswered, and a flagged dependency stays unfixed, which drags durability down. For most new projects, uuid (v7) or Nano ID is better maintained, and a thin wrapper that adds a prefix to uuid v7 gives much of the same benefit. Pick TypeID only if you need the cross-language spec, and pin and audit it.
- peers: uuid and Nano ID released in October 2026 and are widely used
- github.com/jetify-com/typeid-js/issues: Open bugs and release requests with no reply
- npmjs.com/package/typeid-js: 1.2.0 is still the latest version
GPT-6.2 Sol: 6.3, likely 5.1 to 7.5
TypeID is a reasonable choice when readable entity prefixes and compile-time checks are part of the API design. For ordinary time-sortable IDs, uuid is a stronger default because it returns standard UUIDv7 strings and ships updates more regularly. The unpublished dependency fix and the UUID conversion edge case limit the recommendation, and the next release could change it.
- kris.gg/notes/typeids: Shows the practical value of typed prefixes alongside native UUID storage
- github.com/uuidjs/uuid/releases: Shows a steadier release cadence for the general-purpose peer
- github.com/jetify-com/typeid-js/issues/22: Tracks the outstanding request to publish the dependency update
- github.com/jetify-com/typeid-js/issues/23: Documents a conversion edge case in the current package
Needed by many4.9
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Most backend and full-stack projects need unique IDs. TypeID's take, prefixed and typed IDs built on UUIDv7, suits a narrower group: teams that design APIs and database keys and want Stripe-style IDs. It runs on any JavaScript runtime.
- github.com/jetify-com/typeid: Spec defines prefixed UUIDv7 IDs, with many language implementations
- dev.to/zilton7/uuid-v7-vs-ulid-which-sortable-id-should-you-choose-1cdd: Sortable IDs are a common design choice for database keys
GPT-6.2 Sol: 4.8, likely 3.6 to 6.0
Many applications need unique IDs, and TypeID works without tying the application to a framework. Its main benefit is for APIs and data models where developers need to tell several kinds of IDs apart. The State of JavaScript survey shows a large TypeScript audience, but it does not measure demand for entity prefixes.
- 2025.stateofjs.com/en-US/usage: Measures TypeScript and backend JavaScript use
- github.com/jetify-com/typeid-js: Documents optional entity prefixes in JavaScript and TypeScript
- kris.gg/notes/typeids: Shows where prefixes help across API and database boundaries
Helps a lot6.6
How well does it do the job for those who need it?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The API is small and clear: typeid(), fromString, fromUUID, toUUID, plus an unboxed string variant. Prefix types make it safer than raw UUIDs. An open bug says toUUID() throws on some IDs that the spec allows, and issue #16 asks for prefix checks in fromString. Few online examples exist, so AI coding agents have little material to learn the API from.
- github.com/jetify-com/typeid-js: README lists the API, the type-safe prefixes and the unboxed variant
- github.com/jetify-com/typeid-js/issues: Open bug #23 on toUUID(), and #16 on prefix validation
- npm hasTypes: Ships its own TypeScript types
GPT-6.2 Sol: 7.2, likely 6.1 to 8.3
Version 1.2.0 provides typed generation, prefix checks, and UUID conversion through class and string APIs. The README gives coding agents concrete examples for common calls, though agent accuracy has not been measured. A user report shows that some spec-valid values fail UUID text conversion. A benchmark from the competing uniku project found its string generator faster than TypeID's class-to-string path, leaving the relative speed of TypeID's string API uncertain.
- github.com/jetify-com/typeid-js: Documents generation, parsing, and expected-prefix checks
- raw.githubusercontent.com/jetify-com/typeid-js/3199b119fb2e8b77b2710e2e8eaec9f0220a9d18/src/index.ts: Published revision exports both APIs
- github.com/jetify-com/typeid-js/issues/23: Reports UUID text conversion failures in 1.2.0
- jkomyno.github.io/uniku/docs/guides/performance: Compares uniku strings with TypeID class generation plus serialization
Holds up over time4.0
Will it still be a good choice in two years?
Claude Opus 5.5: 3.5, likely 2.0 to 5.0
There were no releases and only 6 commits in the last year, and the latest npm version dates from February 2025. Users asked for the already committed uuid bump to be released from August to October 2026, and no maintainer replied. Jetify is a company and the spec is used across many languages, which leaves some chance the work resumes.
- github releasesLastYear / commitsLastYear: 0 releases and 6 commits in the last year
- npm latestPublishedAt: Last published 2025-02-04
- github.com/jetify-com/typeid-js/issues/22: Release request with no maintainer reply
GPT-6.2 Sol: 4.4, likely 3.1 to 5.9
The repository had six commits in the past year, but npm has had no release since February 2025. Users have been asking since August 2026 for a release containing a dependency update already in the repository. The published specification and ports in other languages make the format easier to maintain independently, while the timing of the next JavaScript release and the project's funding remain unclear.
- github commitsLastYear, pushedAt: Six commits and a November 2026 push
- registry.npmjs.org/typeid-js: Confirms February 2025 as the latest publish date
- github.com/jetify-com/typeid-js/issues/22: Open request to publish the dependency update
- github.com/jetify-com/typeid: Lists the specification and implementations in other languages
Used widely3.7
How many use it, and is that growing?
Claude Opus 5.5: 3.5, likely 2.5 to 5.0
Downloads went from 1.17M to 13M per 4 weeks, a ratio of 11, which is well above the 4.1 median. That jump comes from @sanity/cli installing it, not from developers choosing it. ecosyste.ms finds only 1 repo and 4 packages that depend on it, and social attention is close to none. Direct use is probably a few thousand projects.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 13.07M against 1.17M a year ago
- dependents: 1 repo and 4 packages, far below uuid, Nano ID and ulid
- github.com/jetify-com/typeid-js/issues/22: Lockfile shows typeid-js arriving through @sanity/cli
- bluesky posts / hackerNews: 1 post and 1 off-target HN story
GPT-6.2 Sol: 3.8, likely 2.3 to 5.4
Four-week downloads rose from 1.17 million to 13.07 million, about 11.2 times the prior year's figure and well above the catalog median of 4.1 times. Ecosyste.ms found one dependent repository and four packages, while npm search listed about 40 dependent packages. The tracked footprint trails uuid, Nano ID, and ulid, and the mix of direct choices, downstream installs, and repeat builds leaves the scale of new adoption uncertain.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 11.2× year-over-year growth against a 4.1× baseline
- dependents, peers dependentRepos: Small tracked footprint compared with the leading peers
- github stars, bluesky posts: 443 stars and one tracked Bluesky post
- npmjs.com/search?q=keywords%3Atypeid: Lists roughly 40 npm dependents
Vouched for3.9
Who stands behind it being good?
Claude Opus 5.5: 3.5, likely 2.0 to 5.0
Sanity's CLI depends on it, which is one notable production user. The spec repo has about 3.7k stars and community ports in more than 20 languages, which shows the format is accepted. There are no survey results and no independent benchmarks or reviews of this JavaScript library.
- github.com/jetify-com/typeid: Spec repo with about 3.7k stars and many ports
- github.com/jetify-com/typeid-js/issues/22: Used by @sanity/cli
- dev.to/jetify/typeid-js-type-safe-k-sortable-unique-ids-for-javascript-djh: Write-up is by Jetify itself, not an independent source
GPT-6.2 Sol: 4.3, likely 2.9 to 5.9
Zednabi documents a concrete integration with Drizzle, Zod, and PostgreSQL, and the 5ire desktop app declares the package as a dependency. Arcjet previously used it for request IDs and replaced the dependency in 2026 while keeping the format. These examples show practical use, with limited evidence from long-running deployments or package-specific satisfaction surveys.
- kris.gg/notes/typeids: Zednabi describes validation and database integration
- github.com/nanbingxyz/5ire/blob/main/package.json: 5ire declares a direct dependency on an older version
- github.com/arcjet/arcjet-js/pull/6103: Arcjet kept the format and removed the npm dependency
Safe6.4
How safe is it to depend on?
Claude Opus 5.5: 6.5, likely 5.0 to 7.5
The library has no advisories of its own and only one dependency, under an Apache-2.0 licence. The published version still resolves to uuid@10, which falls under GHSA-w5hq-g745-h8pq (moderate). That flaw is in v3/v5/v6, which TypeID does not use, but audits flag it and the fix is not released. There is no OpenSSF Scorecard and it is unclear who can publish.
- advisories total: 0 advisories for typeid-js
- github.com/advisories/GHSA-w5hq-g745-h8pq: uuid < 11.1.1 affected in v3/v5/v6 buffer APIs
- npm dependencies: 1 dependency (uuid)
- scorecard: No Scorecard data
GPT-6.2 Sol: 6.3, likely 4.9 to 7.8
TypeID has a permissive Apache-2.0 license, one runtime dependency, and no direct advisories in the collected data. Version 1.2.0 still pulls in uuid 10, which is affected by a moderate advisory in functions outside TypeID's generation and conversion paths. A dependency fix landed in the repository and remains unpublished. The npm registry lists three maintainer accounts, while release controls and an OpenSSF Scorecard assessment remain unverified.
- advisories, scorecard: Zero direct advisories and no collected Scorecard
- registry.npmjs.org/typeid-js: Shows the license, uuid 10 dependency, and three maintainer accounts
- github.com/advisories/GHSA-w5hq-g745-h8pq: Identifies affected uuid versions and functions
- github.com/jetify-com/typeid-js/commit/fa45fe7: Records the dependency fix and explains why TypeID avoids the affected functions
Good
- The prefix is part of the TypeScript type, so the compiler rejects a TypeID<'user'> where a TypeID<'org'> is expected.
- Each ID is a UUIDv7 underneath, so it sorts by time and fits a native UUID database column.
- It follows a shared spec (v0.3) with implementations in more than 20 languages, so IDs work the same across services.
- The package is small, with one dependency and an Apache-2.0 licence.
Bad
- No npm release since 1.2.0 in February 2025, and a committed uuid bump has gone unreleased for months.
- Issues go unanswered: release requests from August to October 2026 got no maintainer reply.
- It still pulls in uuid@10, which audit tools flag under GHSA-w5hq-g745-h8pq, even though TypeID only uses the v7 path.
- Nearly all downloads come in through @sanity/cli, so few projects choose it directly and community know-how is thin.
The numbers
- npm downloads, 4 weeks
- 13M ×11 in a year
- GitHub stars
- 443
- Commits, 12 months
- 6
- npm version
- 1.2.0 Feb 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (jetify-com/typeid-js), npm (typeid-js), OSV and the OpenSSF Scorecard.