Node CLI Argument Parser

JSON →
library 2.0.1 ·javascript maintenance
verified May 27, 2026

arg-parser (v2.0.1) is a lightweight, declarative command-line interface (CLI) argument parser specifically designed for Node.js applications. It enables developers to define and parse application-specific command-line arguments, including switches, required positional arguments, and descriptive help messages. The library allows for clear separation of argument definition from parsing logic, providing a structured approach to CLI development. While functional, the package has not seen active development or releases in several years, despite specifying Node.js >=18.0.0 in its `engines` field. This contrasts with more actively maintained alternatives like `yargs` or `commander.js`, which offer more advanced features, active community support, and frequent updates for modern Node.js environments. Its key differentiator is simplicity and a minimal API for basic argument parsing requirements.

total hits 19
actors 8 distinct systems
last hit 21h ago Bingbot
ByteDance
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
3

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France