Skip to content
JS
Package

yargs-parser

the mighty option parser used by yargs

v22.0.0, 26 May 2025ISCESM onlyTypes: NoneCLI tools and terminal utilities
$ npm install yargs-parser

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
0100m200m300mSept 2025Mar 2026Sept 2026High 258.1m (25 Aug 2026)Low 70.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v22 first release 22.0.0, 26 May 2025
  2. v21 first release 21.0.0, 16 Nov 2021
  3. v20 first release 20.0.0, 9 Sept 2020
  4. v19 first release 19.0.0, 9 Aug 2020
  5. v18 first release 18.0.0, 2 Mar 2020
  6. v17 first release 17.0.0, 10 Feb 2020
  7. v16 first release 16.0.0, 27 Oct 2019
  8. v15 first release 15.0.0, 7 Oct 2019
  9. v14 first release 14.0.0, 6 Sept 2019
  10. v13 first release 13.0.0, 2 Feb 2019
  11. v12 first release 12.0.0, 29 Jan 2019
  12. v11 first release 11.0.0, 6 Oct 2018
  13. v10 first release 10.0.0, 4 Apr 2018
  14. v9 first release 9.0.0, 20 Jan 2018
  15. v8 first release 8.0.0, 5 Oct 2017
  16. v7 first release 7.0.0, 2 May 2017
  17. v6 first release 6.0.0, 1 May 2017
  18. v5 first release 5.0.0, 18 Feb 2017
  19. v4 first release 4.0.0, 26 Sept 2016
  20. v3 first release 3.1.0, 9 Aug 2016
  21. v2 first release 2.0.0, 6 Feb 2016
  22. v1 first release 1.0.0, 23 Jan 2016

Recent releases

VersionPublished
22.0.026 May 2025
21.1.14 Aug 2022
21.1.03 Aug 2022
21.0.127 Feb 2022
21.0.016 Nov 2021
20.2.920 Jun 2021
15.0.320 Jun 2021
15.0.220 Jun 2021
20.2.710 Mar 2021
5.0.110 Mar 2021
20.2.622 Feb 2021
20.2.513 Feb 2021
20.2.49 Nov 2020
20.2.316 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/yargs-parser@22.0.0/
  • unpkghttps://unpkg.com/yargs-parser@22.0.0/
  • esm.shhttps://esm.sh/yargs-parser@22.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
clipanion3.6m-2 years agoESM + CommonJSyargs-parser vs clipanion
optimist3.5m-12 years agoCommonJS-
jackspeak81.1m-7 months agoESM + CommonJS-
commander375.2m-3 months agoESM only-
dashdash16.1m-5 years agoCommonJS-
command-line-args5.7m-6 months agoESM + CommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.