uuid vs Nanoid (JavaScript)
In 4,818 JavaScript/TypeScript projects set up for AI coding agents, uuid is a dependency in 292 (6.1%) and Nanoid (JavaScript) in 102 (2.1%): uuid is 2.9× as common. Among repos created in the last 90 days that use a utilities tool, uuid is in 7.0% and Nanoid (JavaScript) in 2.3%, against 13.9% and 4.8% of older ones. 21 projects list both, often a sign of a migration or of a monorepo with several apps.
Utilities npm Updated Oct 20, 2026
| uuid | 6.1% | |
|---|---|---|
| Nanoid (JavaScript) | 2.1% |
Share of 4,818 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| uuid | Nanoid (JavaScript) | |
|---|---|---|
| Agent projects that use it | 292 | 102 |
| Rank in utilities | #4 | #11 |
| In new repos with a utilities tool (last 90 days) | 7.0% | 2.3% |
| In older repos with one | 13.9% | 4.8% |
| Downloads, last 7 days | 174M | 167M |
| GitHub stars | 15.3K | 27.1K |
| Last push to its repo | Oct 19, 2026 | Oct 16, 2026 |
| License | MIT | MIT |
| Funding | — | — |
| Projects that list both | 21 | |
Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.
By coding agent
| Projects set up for | JavaScript/TypeScript repos | uuid | Nanoid (JavaScript) |
|---|---|---|---|
| Claude Code | 2,580 | 6.0% | 2.2% |
| GitHub Copilot | 2,339 | 5.8% | 1.9% |
| Cursor | 1,987 | 8.3% | 2.4% |
| Gemini CLI | 416 | 6.2% | 2.4% |
| OpenAI Codex | 399 | 3.5% | 1.8% |
| OpenCode | 295 | 3.4% | 2.4% |
| OpenClaw | 226 | 4.9% | 0% |
| Devin Desktop | 228 | 9.2% | 2.2% |
| Kiro | 125 | 13.6% | 4.0% |
| Roo-Code | 90 | 15.6% | 0% |
Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.
uuid
Generate RFC9562 compliant UUIDs for unique identifiers in applications.
Most often used with it:
| Zod | 61.3% of its projects |
|---|---|
| dotenv | 49.0% of its projects |
| TypeScript | 86.3% of its projects |
| date-fns | 38.0% of its projects |
| Framer Motion | 32.9% of its projects |
npm install uuid
Nanoid (JavaScript)
Tiny, secure, URL-friendly unique string ID generator for JavaScript.
Most often used with it:
| Lucide React | 76.5% of its projects |
|---|---|
| Tailwind Merge | 72.5% of its projects |
| clsx | 73.5% of its projects |
| Class Variance Authority | 66.7% of its projects |
| Zod | 79.4% of its projects |
npm install nanoid
More matchups
How we count
Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.