Vigia

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 version2.3.0
Published2021-02-15 19:08:06 UTC
Installnpm install getopts@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagslatest: 2.3.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 15:55:08 UTC
Sourcesapi.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

Activitydormant
Last stable release2021-02-15 19:08:06 UTC · 2096 days ago
Stable releases in the last 12 months0
Published versions21

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
2.3.02021-02-15 19:08:06 UTC
2.2.52019-06-28 23:44:29 UTC
2.2.42019-02-22 17:49:22 UTC
2.2.32018-11-02 14:42:06 UTC
2.2.22018-10-19 09:10:17 UTC
2.2.12018-08-24 08:44:09 UTC
2.2.02018-08-17 15:33:22 UTC
2.1.22018-07-18 15:02:20 UTC
2.1.12018-07-17 09:00:00 UTC
2.1.02018-07-17 08:57:46 UTC
2.0.62018-04-10 05:51:37 UTC
2.0.52018-03-17 15:14:25 UTC
2.0.42018-03-17 15:10:12 UTC
2.0.32018-03-17 15:02:49 UTC
2.0.22018-03-17 14:58:22 UTC
2.0.12018-02-27 09:10:17 UTC
2.0.02017-11-12 04:00:39 UTC
1.0.22017-10-28 12:11:59 UTC
1.0.12017-10-28 10:10:35 UTC
1.0.02017-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

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/getopts/version.svg)](https://vigia.coredls.cloud/npm/getopts)
[![maintained](https://vigia.coredls.cloud/badge/npm/getopts/maintained.svg)](https://vigia.coredls.cloud/npm/getopts)
[![status](https://vigia.coredls.cloud/badge/npm/getopts/status.svg)](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}