{"library":"getarg","type":"library","category":null,"description":"getarg is a lightweight and fast command-line argument parser designed for Node.js applications, currently at version 0.0.5. It focuses on providing a simple API for defining, parsing, and validating CLI arguments, including support for required parameters, basic type enforcement (string, number, json, any), aliases, custom help messages, and inter-argument dependencies. Unlike more comprehensive CLI frameworks such as Yargs or Commander, `getarg` prioritizes minimalism and directness, making it suitable for smaller scripts or cases where extensive feature sets are not required. As a pre-1.0 release, its API might still evolve, though the core functionality is designed for quick integration into Node.js projects requiring basic argument handling.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript","darg","getArgs","get-arg","argv","parser","cli","parameters","yarg"],"last_verified":"Wed May 27","install":[{"cmd":"npm install getarg","imports":["import getArgs from 'getarg';","const getArgs = require('getarg');","import * as getarg from 'getarg';"]},{"cmd":"yarn add getarg","imports":[]},{"cmd":"pnpm add getarg","imports":[]}],"homepage":null,"github":"https://github.com/el1s7/getarg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/getarg","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/getarg/compatibility"}}