# uuidjs/uuid

Generate RFC-compliant UUIDs in JavaScript

Repository: https://github.com/uuidjs/uuid
Canonical: https://ross.abutalabs.com/products/uuid
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-18T18:19:21+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 5727, "days_push": 15, "days_rel": 15, "gap_med": 8, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15320, forks 985 (observed 2026-08-28T04:11:09.657271+00:00)

## What it is
A zero-dependency JavaScript/TypeScript library for generating and working with RFC9562 (formerly RFC4122) UUIDs, supporting all UUID versions including timestamp-based v6 and v7. It runs across Node.js, browsers, and React Native, and also ships a small CLI utility.

## Use cases
- generate random uuid v4 in javascript
- create timestamp-ordered uuid v7 for database keys
- generate uuids in react native or expo
- validate and detect version of a uuid string
- generate namespace-based uuid v5 from a name
- convert uuid v1 to v6
- generate uuids from the command line

## When to choose
- you need RFC-compliant UUID generation in JavaScript or TypeScript
- you need all UUID versions including v6 and v7
- you need a cross-platform solution (Node, browser, React Native)
- you want a zero-dependency, tree-shakable package

## When to avoid
- your runtime only supports CommonJS and you cannot migrate to ESM (uuid@12+ dropped CommonJS)
- you need UUIDs in a non-JavaScript language
- you need non-RFC custom identifier formats

## Facets
- artifact type: library
- maturity: stable
- function: serialization, developer-tools, cli
- domain: developer-tools, web-development, cross-platform
- platform: browser, cross-platform, cli
- tags: uuid, guid, rfc9562, rfc4122, typescript, zero-dependency, tree-shakable, nodejs

## Member repositories
- uuidjs/uuid (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:09.657271+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:06:22.103111+00:00, confidence not recorded.
  - readme: https://github.com/uuidjs/uuid (fetched 2026-08-28T04:11:09.657271+00:00, sha ce893f341781)
  - registry_npm: https://registry.npmjs.org/uuid (fetched 2026-08-29T08:04:29.163886+00:00, sha a56c3f202b56)
- Data as of 2026-08-30T08:39:29.467469+00:00.
