npm · npm:getopts
getopts active
Parse CLI arguments.
The latest stable version of getopts is 2.3.0, published on 2021-02-15. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.3.0 |
|---|---|
| Published | 2021-02-15 19:08:06 UTC |
| Install | npm install getopts@latest |
| Requires (engines) | none declared |
| Peer dependencies | — |
| Dist-tags | latest: 2.3.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:55:08 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-02-15 19:08:06 UTC · 2096 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 21 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.3.0 | 2021-02-15 19:08:06 UTC |
2.2.5 | 2019-06-28 23:44:29 UTC |
2.2.4 | 2019-02-22 17:49:22 UTC |
2.2.3 | 2018-11-02 14:42:06 UTC |
2.2.2 | 2018-10-19 09:10:17 UTC |
2.2.1 | 2018-08-24 08:44:09 UTC |
2.2.0 | 2018-08-17 15:33:22 UTC |
2.1.2 | 2018-07-18 15:02:20 UTC |
2.1.1 | 2018-07-17 09:00:00 UTC |
2.1.0 | 2018-07-17 08:57:46 UTC |
2.0.6 | 2018-04-10 05:51:37 UTC |
2.0.5 | 2018-03-17 15:14:25 UTC |
2.0.4 | 2018-03-17 15:10:12 UTC |
2.0.3 | 2018-03-17 15:02:49 UTC |
2.0.2 | 2018-03-17 14:58:22 UTC |
2.0.1 | 2018-02-27 09:10:17 UTC |
2.0.0 | 2017-11-12 04:00:39 UTC |
1.0.2 | 2017-10-28 12:11:59 UTC |
1.0.1 | 2017-10-28 10:10:35 UTC |
1.0.0 | 2017-10-28 09:57:09 UTC |
Showing the 20 most recent of 21 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of getopts?
The latest stable version of getopts is 2.3.0, published on 2021-02-15. Verified by Vigia on 2026-11-12.
How do I install the latest version of getopts?
Run npm install getopts@latest. The latest stable version is 2.3.0 (verified 2026-11-12).
Is getopts deprecated?
No. getopts is not marked as deprecated in the registry.
Which Node.js version does getopts require?
getopts 2.3.0 does not declare a Node.js version requirement.
Does getopts 2.3.0 have known vulnerabilities?
No known advisories affect getopts 2.3.0 according to the data Vigia checks.
Is getopts still maintained?
getopts published 0 stable releases in the last 12 months; the most recent was 2096 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- stack-chain
- @module-federation/manifest
- estree-util-scope
- @jimp/plugin-resize
- @algolia/abtesting
- @types/which
- @maplibre/maplibre-gl-style-spec
- @module-federation/rspack
- @npmcli/name-from-folder
- capture-exit
- vue-tsc
- @tokenizer/inflate
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/getopts) [](https://vigia.coredls.cloud/npm/getopts) [](https://vigia.coredls.cloud/npm/getopts)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/getopts
GET https://vigia.coredls.cloud/v1/packages/npm/getopts/versions/{version}