Skip to content
JS
Package

nopt

Option parsing for Node, supporting types, shorthands, etc. Used by npm.

v10.0.1, 4 Jun 2026ISCCommonJSTypes: None
$ npm install nopt

Key numbers

As of 25 Sept 2026
Weekly downloads
57.2m
+60% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 months ago
v10.0.1
GitHub stars
544
51 forks
Open issues / PRs
12 / 4
Contributors
28
Commits, last 52 weeks
26

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 94.8m (16 Jun 2026)Low 21.6m (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.

57,195,079 downloads last week, 278,094,778 in the last month. The 12-month change of +60% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
339 in total
Latest version
10.0.1, 4 Jun 20263 months ago
First published
30 Mar 2011
Last push to GitHub
18 Jun 202698 days before the snapshot
Repository archived
No
Open issues
12
Open pull requests
4
Commits, last 52 weeks
26
Dependents on npm
1,743

Major versions

  1. v10 first release 10.0.0, 15 May 2026
  2. v9 first release 9.0.0, 22 Oct 2025
  3. v8 first release 8.0.0, 4 Sept 2024
  4. v7 first release 7.0.0, 2 Nov 2022
  5. v6 first release 6.0.0, 20 Jul 2022
  6. v5 first release 5.0.0, 17 Aug 2020
  7. v4 first release 4.0.0, 13 Dec 2016
  8. v3 first release 3.0.0, 6 Jun 2014
  9. v2 first release 2.0.0, 23 Jul 2012
  10. v1 first release 1.0.0, 30 Mar 2011

Recent releases

VersionPublished
10.0.14 Jun 2026
10.0.015 May 2026
9.0.022 Oct 2025
8.1.021 Jan 2025
8.0.04 Sept 2024
7.2.14 May 2024
7.2.015 Jun 2023
7.1.021 Mar 2023
7.0.02 Nov 2022
6.0.020 Jul 2022
5.0.017 Aug 2020
4.0.38 Mar 2020
4.0.28 Mar 2020
4.0.114 Dec 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^22.22.2 || ^24.15.0 || >=26.0.0
Runtimes
-
Unpacked size (npm)
26 kB
Dependencies (1)
abbrev
npm install nopt
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nopt@10.0.1/
  • unpkghttps://unpkg.com/nopt@10.0.1/
  • esm.shhttps://esm.sh/nopt@10.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.