{"library":"arg-parser","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.0.1","tags":["javascript","args","parser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install arg-parser","imports":["import Args from 'arg-parser';","import type Args from 'arg-parser';"]},{"cmd":"yarn add arg-parser","imports":[]},{"cmd":"pnpm add arg-parser","imports":[]}],"homepage":null,"github":"https://github.com/tborychowski/node-arg-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/arg-parser","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/arg-parser/compatibility"}}