Ross ROSS = Recommend OSS · open-source software intelligence for agents

yargs/yargs

yargs the modern, pirate-themed successor to optimist. observed · 2026-08-28

github.com/yargs/yargs · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 96
  • Release rhythm 83
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 37
  • age_days: 4682
  • days_rel: 38
  • days_push: 26
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

11515 stars · 1042 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Yargs is a Node.js library for parsing command-line arguments and building interactive CLI tools. It provides command and option parsing, dynamically generated help menus, and Bash/Zsh completion script generation.

Use cases

  • parse command line arguments in a node script
  • build a CLI tool with subcommands like serve --port=5000
  • auto-generate a help menu for my command line program
  • add bash and zsh tab completion to my CLI
  • define positional arguments and options with defaults in node
  • replace optimist or minimist with a full-featured arg parser

When to choose

  • you are building a Node.js command-line tool and want argument parsing plus generated help and completions
  • you need subcommands, grouped options, validation, and a polished CLI UX with minimal code

When to avoid

  • you need a full interactive terminal UI rather than argument parsing
  • you are not working in JavaScript/Node.js
  • you only need trivial argv slicing and want zero dependencies

Facets

library · maturity stable

cli parser developer-tools developer-tools cli cross-platform argument-parsing cli-builder help-generation shell-completion optimist-successor command-line automation nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
yargs/yargsmain92

For agents

markdown · JSON · MCP: product_card(name="yargs/yargs")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem