unjs/citty
🌆 Elegant CLI Builder observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 98
- Release rhythm 65
- Longevity 90
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: 35.5
- age_days: 1268
- days_rel: 154
- days_push: 13
- n_releases_24m: 3
Adoption not part of the score
1306 stars · 57 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Citty is a zero-dependency TypeScript library for building elegant command-line interfaces on Node.js. It provides typed command definitions, nested sub-commands with lazy loading, and auto-generated usage/help output.
Use cases
- build a cli tool in nodejs
- parse command line arguments with types
- create nested subcommands for a cli
- lazy load cli commands to speed up startup
- auto-generate help and usage text for a cli
- build a typescript cli framework app
When to choose
- you want a lightweight, zero-dependency CLI builder for Node.js
- you need nested sub-commands with lazy/async loading for large CLIs
- you prefer a typed, composable API with auto-generated usage output
When to avoid
- you need a full-featured framework with prompts, colors, or interactive UI built in
- you are targeting non-Node.js runtimes or shell-only scripts
- you need battle-tested v1 stability for critical tooling (still pre-1.0)
Facets
library · maturity active
cli parser developer-tools developer-tools web-development cli cross-platform cli-builder argument-parsing subcommands zero-dependency typescript unjs command-line nodejs
2 sources
- readme: https://github.com/unjs/citty · fetched 2026-08-28 · 78fa4d1f7387
- registry_npm: https://registry.npmjs.org/citty · fetched 2026-08-29 · 75ba8eb92469
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unjs/citty | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem