{"library":"yargs-parser","type":"library","category":null,"description":"yargs-parser is the robust, highly configurable option parser underlying the popular yargs command-line interface library. Currently at stable version 22.0.0, it follows a release cadence tied to yargs itself, with major versions introducing breaking changes like the recent shift to ESM-first. Its key differentiators include comprehensive argument parsing capabilities, extensive configuration options for aliases, types (boolean, number, string, array), defaults, environment variable handling, and support for configuration files. It operates efficiently across various JavaScript environments, including Node.js (requiring Node.js ^20.19.0 || ^22.12.0 || >=23 as of v22), web browsers via specific builds, and Deno, making it a versatile choice for parsing CLI arguments or arbitrary strings.","language":"javascript","status":"active","version":"22.0.0","tags":["javascript","argument","parser","yargs","command","cli","parsing","option","args"],"last_verified":"Wed May 27","install":[{"cmd":"npm install yargs-parser","imports":["import parser from 'yargs-parser'","import parser from 'https://deno.land/x/yargs_parser/deno.ts'","import type { Options } from 'yargs-parser'"]},{"cmd":"yarn add yargs-parser","imports":[]},{"cmd":"pnpm add yargs-parser","imports":[]}],"homepage":null,"github":"https://github.com/yargs/yargs-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/yargs-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/yargs-parser/compatibility"}}