Skip to content
JS
Package

argparse

CLI arguments parser. Native port of python's argparse.

v3.0.2, 10 Sept 2026PSF-2.0CommonJSTypes: BundledCLI tools and terminal utilities
$ npm install argparse

Key numbers

As of 25 Sept 2026
Weekly downloads
197.9m
+78% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
14 days ago
v3.0.2
GitHub stars
512
77 forks
Open issues / PRs
1 / 0
Contributors
25
Commits, last 52 weeks
99

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 264.5m (25 Aug 2026)Low 73.2m (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.

197,854,236 downloads last week, 954,437,329 in the last month. The 12-month change of +78% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
333 in total
Latest version
3.0.2, 10 Sept 202614 days ago
First published
16 May 2012
Last push to GitHub
10 Sept 202614 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
99
Dependents on npm
3,829

Major versions

  1. v3 first release 3.0.0, 14 Jul 2026
  2. v2 first release 2.0.0, 14 Aug 2020
  3. v1 first release 1.0.0, 19 Feb 2015
  4. v0 first release 0.1.0, 16 May 2012

Recent releases

VersionPublished
3.0.210 Sept 2026
3.0.125 Aug 2026
3.0.014 Jul 2026
2.0.128 Aug 2020
2.0.014 Aug 2020
1.0.1015 Feb 2018
1.0.929 Sept 2016
1.0.829 Sept 2016
1.0.717 Mar 2016
1.0.66 Feb 2016
1.0.55 Feb 2016
1.0.417 Jan 2016
1.0.327 Oct 2015
1.0.222 Mar 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
173 kB
Dependencies (0)
None
npm install argparse
  • jsDelivrhttps://cdn.jsdelivr.net/npm/argparse@3.0.2/
  • unpkghttps://unpkg.com/argparse@3.0.2/
  • esm.shhttps://esm.sh/argparse@3.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
yargs194.7m-4 days agoESM only-
clipanion3.6m-2 years agoESM + CommonJS-
optimist3.5m-12 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.