{"library":"wargs","type":"library","category":null,"description":"Wargs is a JavaScript utility designed for parsing command-line-like arguments from both strings and `argv`-style arrays, distinguishing itself from conventional argument parsers like `commander` or `yargs`. Unlike most alternatives, it leverages regular expressions internally, allowing it to process raw string inputs which traditional parsers typically do not support. It categorizes parsed arguments into `_` (positional arguments), `raw` (arguments after `--`), `data` (key=value pairs), `flags` (boolean flags like `--json` or `-x`), and `params` (key:value pairs). The current stable version is 0.10.0, however, the project appears to be abandoned with the last commit made in September 2020 and the latest npm publish being 5 years ago, indicating no ongoing development or maintenance. This tool is particularly suited for scenarios where arguments might come from varied sources beyond `process.argv` and require a flexible, regex-driven extraction approach.","language":"javascript","status":"abandoned","version":"0.10.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install wargs","imports":["import wargs from 'wargs';","const wargs = require('wargs');"]},{"cmd":"yarn add wargs","imports":[]},{"cmd":"pnpm add wargs","imports":[]}],"homepage":null,"github":"https://github.com/tacoss/wargs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/wargs","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/wargs/compatibility"}}