{"library":"argsparser","type":"library","category":null,"description":"argsparser is an extremely tiny command-line arguments parser for Node.js, last published as version 0.0.7 over a decade ago. It operates by converting an array of arguments (typically `process.argv`) into a key-value object based on simple parsing rules. Keys are identified as the first element or elements prefixed by `-` or `--`. Subsequent elements become the key's value; if multiple values follow, they form an array, and if no value, the key's value is `true`. Its primary differentiator was its minimalistic footprint and simple parsing logic. Due to its age, lack of maintenance, and reliance on very old Node.js versions (specifically `>=0.2.0`), it is not suitable for modern projects and should be considered entirely abandoned. Modern alternatives like `commander`, `yargs`, or `minimist` offer robust and actively maintained solutions for CLI parsing.","language":"javascript","status":"abandoned","version":"0.0.7","tags":["javascript","arguments","options","command line","parser"],"last_verified":"Wed May 27","install":[{"cmd":"npm install argsparser","imports":["const argsparser = require('argsparser');\nconst args = argsparser.parse();","const argsparser = require('argsparser');"]},{"cmd":"yarn add argsparser","imports":[]},{"cmd":"pnpm add argsparser","imports":[]}],"homepage":null,"github":"https://github.com/kof/node-argsparser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/argsparser","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/argsparser/compatibility"}}