talira

Compare

minimistyargsmeowCommander.js
What it isMinimal command-line argument parser for Node.jsParse command-line arguments and build CLIs in Node.jsSmall helper for building Node.js command-line appsThe complete solution for Node.js command-line interfaces
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.340.620.390.64
Stars66511507372228468
Last commit2025-12-292026-11-172026-07-212026-11-07
LicenceMITMITMITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyJames HallidayyargsSindre SorhusTJ Holowaychuk
Features
  • parses short, long, grouped and --no- flags into an object
  • string, boolean, alias and default options
  • stop at the first non-option, or split off arguments after --
  • callback for unknown options
  • CommonJS and ES module imports
  • Commands with grouped options
  • Help menu generated from your commands and options
  • Bash and Zsh completion scripts
  • TypeScript typings and browser support
  • argument and flag parsing
  • camelCase flags and --no- negation
  • automatic --version and --help
  • no dependencies
  • option types: boolean, value, negatable, variadic and required
  • commands with arguments and action handlers
  • stand-alone executable subcommands
  • automated, customisable help
  • version option
  • life-cycle hooks