COA Command-Line Option Parser

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

COA (Command-Option-Argument) is a parser for command-line options in Node.js applications, currently stable at version 2.0.2. It distinguishes itself by aiming to maximize utility from formalizing a program's API, automatically generating comprehensive command-line help text, enabling its use as modules, and providing shell completion out of the box. Key features include support for rich option and argument types such as arrays, boolean flags, and required values. It also facilitates asynchronous command actions using promises (historically powered by the `Q` library) and allows for easy submoduling of commands. The package supports combined validation and complex parsing of values. While robust in its design, the project has seen very infrequent updates, with the last legitimate release being in December 2018. Its development has been largely inactive for several years, leading to a critical security incident in 2021.

total hits 21
actors 9 distinct systems
last hit 1d ago AhrefsBot
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

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