@automattic/vip

中文文档
4.1.8发布于 2026/11/06MITCommonJS构建来源已验证近 30 天下载 1.2万

The VIP Javascript library & CLI

原始使用文档

VIP-CLI

VIP-CLI is a tool for interacting with and managing your WordPress VIP applications.

Further documentation

  • SETUP.md for installation and setup instructions, basic usage and environmental variables.
  • ARCHITECTURE.md for information on architecture, code structure, data storage and security.
  • CONTRIBUTING.md for information on how to contribute patches and features, also issue and pull request labels.
  • DEBUGGING.md for information on how to debug the software.
  • TESTING.md for details on testing the software and individual tasks.
  • EDGE-WORKERS.md for the edge-worker scaffold, validation, deployment, and operational safety contract.
  • RELEASING.md for details on deploying a new release.
  • SECURITY.md for information if you found a security issue.

Further information

版本与发布记录

@automattic/vip 共发布 272 个版本,首次发布于 2018/02/03;过去 12 个月发布了 40 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
4.1.8latest2026/11/062 天前
4.1.62026/10/2315 天前
4.1.52026/09/301 个月前
4.1.42026/09/241 个月前
4.1.32026/09/121 个月前
4.1.22026/09/111 个月前

其他发布通道:next → 4.0.13。

关于 @automattic/vip 的常见问题

@automattic/vip 是什么?

The VIP Javascript library & CLI

如何安装 @automattic/vip?

在项目目录运行 npm install @automattic/vip,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 vip、vip-db、vip-wp、vip-app、vip-logs、vip-sync、vip-cache、vip-backup、vip-config、vip-export、vip-import、vip-logout,可以用 npx vip 直接运行。

@automattic/vip 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/automattic__vip 是否存在。

@automattic/vip 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@automattic/vip 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22.23.2。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@automattic/vip 可以商用吗?

@automattic/vip 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@automattic/vip 的下载量有多少?

根据 npm 官方下载统计,@automattic/vip 在 2026/10/07 – 2026/11/05 这 30 天内被下载 11,982 次,日均约 399 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@automattic/vip 还在维护吗?

最新版本 4.1.8 发布于 2026/11/06(2 天前);至今共发布 272 个版本,其中过去 12 个月发布了 40 个;首次发布于 2018/02/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。