{"library":"args-parser","type":"library","category":null,"description":"args-parser is a minimalist command-line argument parser designed specifically for Node.js environments. Its current stable version is 1.3.0, and it maintains a relatively slow release cadence, reflecting its stable and focused scope. The library directly processes an array of strings, typically `process.argv`, transforming them into a straightforward JavaScript object. Flags are represented as boolean `true` values, while key-value pairs (e.g., `--key=value`) are parsed into string or numeric values accordingly. Its key differentiators include an extremely small footprint and a simple, direct API, making it an ideal choice for basic script argument handling where the overhead or extensive features of more complex parsers like `yargs` or `commander.js` are not required. It explicitly avoids advanced features such as extensive type coercion, positional arguments, aliases, or integrated help generation, focusing solely on efficient, no-frills flag and option parsing.","language":"javascript","status":"maintenance","version":"1.3.0","tags":["javascript","args","parser","args-parser","arguments"],"last_verified":"Wed May 27","install":[{"cmd":"npm install args-parser","imports":["const argsParser = require('args-parser');\nconst args = argsParser(process.argv);","const parseArgs = require('args-parser');\nconst myArgs = parseArgs(['--config=dev', '-v']);","// No specific type definitions are shipped with the package, infer 'any' or define locally."]},{"cmd":"yarn add args-parser","imports":[]},{"cmd":"pnpm add args-parser","imports":[]}],"homepage":null,"github":"https://github.com/eveningkid/args-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/args-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/args-parser/compatibility"}}