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

ai/nanoid

Some data may be outdated — see provenance labels.

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

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

Health v2 · maintenance only

98/100

  • Activity 98
  • Release rhythm 98
  • Longevity 100
How is this computed?

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

  • gap_med: 2
  • age_days: 3363
  • days_rel: 15
  • days_push: 15
  • n_releases_24m: 34

Full methodology

Adoption not part of the score

27084 stars · 891 forks observed · 2026-10-06

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/nanoidmain98

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem