yargs-parser is a command-line argument parser that powers the popular 'yargs' package. It focuses on parsing strings into JavaScript objects, making it easy to access arguments passed to your Node.js scripts. It handles options, flags, and positional arguments with flexibility. You can define aliases, boolean flags, and default values. Its key features include support for numbers, arrays, key-value pairs, and a clean API for seamless integration into your projects. It is well-tested and used in countless popular libraries.
The npm package yargs-parser had frequent releases from 2016 to 2021, with a peak in March 2020 (7 releases). Release frequency significantly decreased after 2021, with only a single release in February 2022, May 2025, and none in 2023, 2024, June 2025, July 2025 and August 2025. The package appears to be in a maintenance phase with infrequent version updates.
Yargs-parser downloads show a generally upward trend from March 2024 to August 2025, peaking in June 2025. Downloads remained consistently high, generally between 350 and 500 million per month. September 2025 data suggests a significant drop, but it's incomplete.