{"library":"coa","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install coa","imports":["import { Cmd } from 'coa';","import type { CoaInstance } from 'coa';","const coa = require('coa');"]},{"cmd":"yarn add coa","imports":[]},{"cmd":"pnpm add coa","imports":[]}],"homepage":null,"github":"https://github.com/veged/coa","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/coa","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/coa/compatibility"}}