Package
yargs-parser
the mighty option parser used by yargs
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 193.6m
- +64% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v22.0.0
- GitHub stars
- 519
- 129 forks
- Open issues / PRs
- 38 / 9
- Contributors
- 63
- Commits, last 52 weeks
- 8
Downloads
Last week 2026-09-15 to 2026-09-21
193,621,681 downloads last week, 884,549,721 in the last month. The 12-month change of +64% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 071 in total
- Latest version
- 22.0.0, 26 May 20251 year ago
- First published
- 23 Jan 2016
- Last push to GitHub
- 18 Sept 20266 days before the snapshot
- Repository archived
- No
- Open issues
- 38
- Open pull requests
- 9
- Commits, last 52 weeks
- 8
- Dependents on npm
- 3,786
Major versions
- v22 first release 22.0.0, 26 May 2025
- v21 first release 21.0.0, 16 Nov 2021
- v20 first release 20.0.0, 9 Sept 2020
- v19 first release 19.0.0, 9 Aug 2020
- v18 first release 18.0.0, 2 Mar 2020
- v17 first release 17.0.0, 10 Feb 2020
- v16 first release 16.0.0, 27 Oct 2019
- v15 first release 15.0.0, 7 Oct 2019
- v14 first release 14.0.0, 6 Sept 2019
- v13 first release 13.0.0, 2 Feb 2019
- v12 first release 12.0.0, 29 Jan 2019
- v11 first release 11.0.0, 6 Oct 2018
- v10 first release 10.0.0, 4 Apr 2018
- v9 first release 9.0.0, 20 Jan 2018
- v8 first release 8.0.0, 5 Oct 2017
- v7 first release 7.0.0, 2 May 2017
- v6 first release 6.0.0, 1 May 2017
- v5 first release 5.0.0, 18 Feb 2017
- v4 first release 4.0.0, 26 Sept 2016
- v3 first release 3.1.0, 9 Aug 2016
- v2 first release 2.0.0, 6 Feb 2016
- v1 first release 1.0.0, 23 Jan 2016
Recent releases
| Version | Published |
|---|---|
| 22.0.0 | 26 May 2025 |
| 21.1.1 | 4 Aug 2022 |
| 21.1.0 | 3 Aug 2022 |
| 21.0.1 | 27 Feb 2022 |
| 21.0.0 | 16 Nov 2021 |
| 20.2.9 | 20 Jun 2021 |
| 15.0.3 | 20 Jun 2021 |
| 15.0.2 | 20 Jun 2021 |
| 20.2.7 | 10 Mar 2021 |
| 5.0.1 | 10 Mar 2021 |
| 20.2.6 | 22 Feb 2021 |
| 20.2.5 | 13 Feb 2021 |
| 20.2.4 | 9 Nov 2020 |
| 20.2.3 | 16 Oct 2020 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- ^20.19.0 || ^22.12.0 || >=23
- Runtimes
- -
- Unpacked size (npm)
- 84 kB
- Dependencies (0)
- None
npm install yargs-parser- jsDelivr
https://cdn.jsdelivr.net/npm/yargs-parser@22.0.0/ - unpkg
https://unpkg.com/yargs-parser@22.0.0/ - esm.sh
https://esm.sh/yargs-parser@22.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| clipanion | 3.6m | - | 2 years ago | ESM + CommonJS | yargs-parser vs clipanion |
| optimist | 3.5m | - | 12 years ago | CommonJS | - |
| jackspeak | 81.1m | - | 7 months ago | ESM + CommonJS | - |
| commander | 375.2m | - | 3 months ago | ESM only | - |
| dashdash | 16.1m | - | 5 years ago | CommonJS | - |
| command-line-args | 5.7m | - | 6 months ago | ESM + CommonJS | - |
Indexability: Indexed.