citty
0.2.2 · 1 Apr 2026MIT49.3M / weekRepositoryHomepagenpmAtom feed
Latest releases
- 0.2.x · latest line
0.2.2
1 Apr 2026Support subcommand aliases
Add plugin system
Support default sub command
Enhancements
Support subcommand aliases
Add plugin system
Support default sub command
Fixes
main: Allow user-defined
-h,--help,-v,--versionargsResolve alias value over default
Subcommand resolution incorrectly consumes flag values
Coerce parsed arg values to match declared types
0.2.1
12 Feb 2026Propagate
--no-negation to aliases and main option
0.2.0
20 Jan 2026- Breaking
⚠️ Parsed optionals and enum type safety
- Breaking
⚠️ Conditionally print negative boolean argument usage
- Breaking
⚠️ Use
node:util.parseArgsfor arg parsing
Note
🌟
cittyis now zero dependency reducing install size from 267kB to 22.8kBEnhancements
Support
hiddenmeta to hide commandSupport
enumarg typeSupport
negativeDescriptionfor args- Breaking
⚠️ Parsed optionals and enum type safety
Fixes
- Breaking
⚠️ Conditionally print negative boolean argument usage
types: Value type of NumberArgDef should be number
Show cli error message
Allow
numberarg to be optional
Refactors
- Breaking
⚠️ Use
node:util.parseArgsfor arg parsing
Build
- Breaking
⚠️ ESM-only dist
Dependency tracking · free for 3 projects
Know when your own dependencies move
This page watches citty. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 12 Nov 2026. Releases and advisories last read 12 Nov 2026.