talira

Compare

Nano IDuuid
What it isTiny, secure, URL-friendly unique string ID generator for JavaScriptGenerates RFC 9562 UUIDs in JavaScript and TypeScript
KindOpen sourceOpen source
Trust0.650.58
Stars2714815348
Last commit2026-11-252026-11-01
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyAndrey Sitnik and Evil Martiansuuidjs
Features
  • 21-character URL-safe IDs from a hardware random generator
  • 117 bytes minified and brotlied, no dependencies
  • custom alphabet and size with customAlphabet
  • non-secure variant for speed where randomness quality doesn't matter
  • CLI: npx nanoid with --size and --alphabet
  • ports in over 20 programming languages
  • Generates UUID versions 1, 3, 4, 5, 6 and 7
  • Parses, stringifies and validates UUIDs and detects their version
  • Converts between version 1 and version 6 UUIDs
  • No dependencies and tree-shakable, with TypeScript types
  • A uuid command line tool
Limitations
  • Version 6 supports Node.js 22, 24 and 26 or newer only.
  • CommonJS isn't supported from uuid 12: the package is ESM only
  • Needs crypto.getRandomValues(): React Native and other environments without it need a polyfill