Command Line Options Parser

JSON →
library 0.4.0 ·javascript
verified May 27, 2026

options-parser is a lightweight, full-featured command-line argument parser for Node.js, designed with no external dependencies for a minimal footprint. The current stable version is 0.4.0, indicating it's still in active development, likely with a focus on stability before a 1.0 release. Its key differentiators include built-in type validation for common types (like files), automatic help screen generation with customizable formatting, and robust handling of multi-value options and default values. It provides a structured way to define expected command-line flags and arguments, distinguishing between required, optional, and flag-only parameters, making it suitable for scripting and CLI tool development in Node.js environments.

total hits 18
actors 6 distinct systems
last hit 2d ago human
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
4

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