qmetrics.net

Commander.js

Node.js library for structured command-line programs

Frameworks & PlatformsDesktop/CLI app

Commander.js parses argv into options, arguments, and subcommands, then drives help text and action handlers for Node.js CLI tools.

Overview

Commander.js is a Node.js package for describing and running command-line interfaces in code. You declare options, positional arguments, and nested subcommands; the library parses process arguments, enforces unknown-option errors by default, and routes execution to handlers or external subcommand binaries.

Options support boolean and value flags, defaults, negated long names, optional values, variadic lists, and mandatory options. Custom processing hooks can coerce types or accumulate values. Commands can nest arbitrarily, carry aliases, and hide or mark default subcommands for help output.

Help is generated from the definitions you attach, with hooks to customize usage text, error display, and version flags. Programs can parse synchronously or asynchronously when handlers return promises. Stand-alone executable subcommands map names to separate files discovered beside the entry script.

The package exposes a global default object for quick scripts and a factory for tests or multi-command applications that need isolated Command instances.

Key features

  • Declarative options and arguments
  • Nested subcommands
  • Auto-generated help and version
  • Strict unknown-option checking
  • Sync and async parsing
  • Executable file subcommands
  • Custom option and argument coercion
  • TypeScript typings

Use cases

  • Node.js developer CLIs
  • Multi-subcommand tooling
  • Scripts with nested commands
  • Published npm command binaries

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT