npm · npm:getopts
getopts 活跃
Parse CLI arguments.
getopts 的最新稳定版本是 2.3.0,发布于 2021-02-15。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 2.3.0 |
|---|---|
| 发布时间 | 2021-02-15 19:08:06 UTC |
| 安装 | npm install getopts@latest |
| 运行要求(engines) | 未声明 |
| Peer 依赖 | — |
| Dist 标签 | latest: 2.3.0 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 15:55:08 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2021-02-15 19:08:06 UTC · 2096 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 21 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
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 |
显示 21 个版本中最新的 20 个。 JSON
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
getopts 的最新版本是什么?
getopts 的最新稳定版本是 2.3.0,发布于 2021-02-15。Vigia 于 2026-11-12 核实。
如何安装 getopts 的最新版本?
运行 npm install getopts@latest。最新稳定版本是 2.3.0(2026-11-12 核实)。
getopts 是否已弃用?
否。注册表中 getopts 未被标记为已弃用。
getopts 需要哪个版本的 Node.js?
getopts 2.3.0 未声明对 Node.js 版本的要求。
getopts 2.3.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 getopts 2.3.0。
getopts 是否仍在维护?
getopts 在过去 12 个月内发布了 0 个稳定版本,最近一次在 2096 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- 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
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/getopts) [](https://vigia.coredls.cloud/npm/getopts) [](https://vigia.coredls.cloud/npm/getopts)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/getopts
GET https://vigia.coredls.cloud/v1/packages/npm/getopts/versions/{version}