Oppa Argument Parser
JSON →Oppa is a typesafe options and arguments parser for Node.js, designed for command-line interfaces. It provides a fluent API for defining command-line arguments, including support for long/short names, aliases, boolean flags (with `--no-` prefix auto-handling), multi-value arguments, and custom validators. A key differentiator is its strong TypeScript integration, which ensures the parsed result is fully type-checked at compile-time, eliminating common runtime errors associated with parsing untyped arguments. It also automatically generates comprehensive `--help` and `--version` output. The current stable version is 0.4.0, released in June 2021, indicating a slower release cadence. It requires Node.js >=10, with specific build fixes for Node.js 10 in versions 0.3.3 and later.
Traffic · last 30 days ↑33% vs prev 7d
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇫🇮 Finland · 🇩🇪 Germany