Skip to content
JS
Package

optimist

Light-weight option parsing with an argv hash. No optstrings attached.

v0.6.1, 6 Feb 2014MIT/X11CommonJSTypes: NoneCLI tools and terminal utilities
$ npm install optimist

Key numbers

As of 25 Sept 2026
Weekly downloads
3.5m
-9% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
12 years ago
v0.6.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.3m (21 Oct 2025)Low 1.7m (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.

3,540,391 downloads last week, 13,167,256 in the last month. The 12-month change of -9% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
039 in total
Latest version
0.6.1, 6 Feb 201412 years ago
First published
21 Dec 2010
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
4,402

Major versions

  1. v0 first release 0.0.1, 21 Dec 2010

Recent releases

VersionPublished
0.6.16 Feb 2014
0.6.025 Jun 2013
0.5.231 May 2013
0.5.130 May 2013
0.5.018 May 2013
0.4.013 Apr 2013
0.3.74 Apr 2013
0.3.64 Apr 2013
0.3.510 Oct 2012
0.3.430 Apr 2012
0.3.330 Apr 2012
0.3.131 Dec 2011
0.3.09 Dec 2011
0.2.820 Oct 2011
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
minimistwordwrap
npm install optimist
  • jsDelivrhttps://cdn.jsdelivr.net/npm/optimist@0.6.1/
  • unpkghttps://unpkg.com/optimist@0.6.1/
  • esm.shhttps://esm.sh/optimist@0.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
yargs194.7m-4 days agoESM only-
clipanion3.6m-2 years agoESM + CommonJS-
yargs-parser193.6m-1 year agoESM only-
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-
ts-command-line-args349.8k-3 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.