Ross ROSS = Recommend OSS · open-source software intelligence for agents

ai/nanoid

A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript observed · 2026-08-28

github.com/ai/nanoid · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

97/100

  • Activity 97
  • Release rhythm 96
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 1.5
  • age_days: 3315
  • days_rel: 26
  • days_push: 23
  • n_releases_24m: 31

Full methodology

Adoption not part of the score

26945 stars · 871 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Nano ID is a tiny (118 bytes), dependency-free JavaScript library for generating secure, URL-friendly unique string IDs using a hardware random generator. It packs a similar number of random bits to UUID v4 into just 21 characters using a larger alphabet, and is faster than crypto.randomUUID().

Use cases

  • generate unique ids for database records
  • uuid alternative for javascript
  • generate short url-friendly identifiers
  • generate random ids in react components
  • secure random string generator for node
  • generate ids for pouchdb or couchdb documents

When to choose

  • you need short, URL-safe unique IDs smaller than UUIDs
  • bundle size matters and you want a zero-dependency library
  • you need faster ID generation than crypto.randomUUID or uuid v4
  • you want customizable alphabet or ID length

When to avoid

  • you need sequential or sortable IDs like ULID or snowflake IDs
  • you need standardized UUID format for interoperability
  • you need cryptographically verifiable or non-random IDs

Facets

library · maturity stable

data-generation cryptography developer-tools web-development browser bun cross-platform id-generator uuid-alternative unique-ids random-string tiny-library zero-dependency algorithms nodejs deno

3 sources

Member repositories

RepositoryRoleHealth v2
ai/nanoidmain97

For agents

markdown · JSON · MCP: product_card(name="ai/nanoid")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem