Commander.js

The complete solution for Node.js command-line interfaces

Language: JavaScriptCategory: CLIFirst released: 2012Created by: TJ HolowaychukLicense: MIT

Commander.js is a lightweight and expressive framework for building Node.js command-line applications. It offers elegant argument parsing, option handling, automatic help generation, and git-style subcommand support. With a fluent API inspired by Ruby's Commander gem, it has become the de facto standard CLI library in the Node.js ecosystem, powering thousands of developer tools.

Links

Key Features

Argument & Option ParsingAuto-Generated HelpGit-Style SubcommandsFluent APIStandalone & Global Mode