Package
clap
Command line argument parser
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 939k
- +7% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 4 years ago
- v3.1.1
- GitHub stars
- 20
- 7 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
938,976 downloads last week, 3,068,246 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 024 in total
- Latest version
- 3.1.1, 7 Feb 20224 years ago
- First published
- 10 Feb 2014
- Last push to GitHub
- 18 Jul 20231,164 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 38
Major versions
- v3 first release 3.0.0, 12 Dec 2021
- v2 first release 2.0.0, 9 Dec 2019
- v1 first release 1.0.0, 11 Oct 2014
Recent releases
| Version | Published |
|---|---|
| 3.1.1 | 7 Feb 2022 |
| 3.1.0 | 7 Feb 2022 |
| 3.0.0 | 12 Dec 2021 |
| 2.0.1 | 16 Dec 2019 |
| 2.0.0 | 9 Dec 2019 |
| 1.2.3 | 20 Sept 2017 |
| 1.2.2 | 18 Sept 2017 |
| 1.2.1 | 18 Sept 2017 |
| 1.2.0 | 13 Jun 2017 |
| 1.1.3 | 16 Mar 2017 |
| 1.1.2 | 3 Dec 2016 |
| 1.1.1 | 10 May 2016 |
| 1.1.0 | 19 Mar 2016 |
| 1.0.10 | 16 Dec 2015 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- ^12.20.0 || ^14.13.0 || >=15.0.0
- Runtimes
- -
- Unpacked size (npm)
- 46 kB
- Dependencies (1)
ansi-colors
npm install clap- jsDelivr
https://cdn.jsdelivr.net/npm/clap@3.1.1/ - unpkg
https://unpkg.com/clap@3.1.1/ - esm.sh
https://esm.sh/clap@3.1.1
Indexability: Indexed.