tj/commander.js
node.js command-line interfaces made easy observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 62
- Longevity 100
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: 107.0
- age_days: 5498
- days_rel: 96
- days_push: 9
- n_releases_24m: 7
Adoption not part of the score
28375 stars · 1770 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Commander.js is a widely-used Node.js library for building command-line interfaces, providing option and argument parsing, subcommands, and automated help generation. It is the de facto standard CLI framework in the JavaScript ecosystem.
Use cases
- build a cli tool in node.js
- parse command-line arguments and options
- add subcommands to a cli app
- generate help text automatically
- create a cli with required and variadic options
When to choose
- you are building a CLI in Node.js and want a mature, battle-tested parser
- you need subcommands, option validation, and auto-generated help out of the box
- you want TypeScript support and a huge ecosystem of examples
When to avoid
- you are building CLIs in Python, Go, or Rust rather than JavaScript
- you need a full interactive terminal UI rather than argument parsing
- you want zero dependencies in a browser-only project
Facets
library · maturity stable
cli parser developer-tools developer-tools backend cli cross-platform argument-parsing option-parsing subcommands help-generation typescript-support command-line nodejs
1 source
- readme: https://github.com/tj/commander.js · fetched 2026-08-28 · 468b2ed476b9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tj/commander.js | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem