@automattic/vip-go-node-internal

中文文档
2.21.13发布于 2026/10/24MITTypeScriptCommonJS近 30 天下载 6842

Modules to help run internal VIP Node.js applications.

原始使用文档
文档目录3 节
  1. Libraries
  2. Usage
  3. Contributing

VIP Node.js Internal Library

This package provides a centralized library of reusable code for internal Node.js applications on the WordPress VIP Platform.

Libraries

Libraries included in this package:

  • acme: Various helpers for communicating with the ACME API, such as adding a new Let's Encrypt certificate on a domain, getting more information on an existing Let's Encrypt certificate or modifying an existing Let's Encrypt certificate.

  • alerts: A centralized alerting library for your apps.

  • audit: Shared utilities for dealing with visibility of audit log events.

  • cache: Shared utilities for inspect and purge the cache of VIP sites.

  • constants: A centralized constants library to keep container type, host type, and site type ID names parallel across all apps.

  • domains: Various helpers for working with domains on VIP, such as determining if a domain is a placeholder domain and calculating the automatic www/naked domain alternative.

  • goopApi: API to communicate with GOOP.

  • logs: Shared utilities for format logs of VIP sites.

  • pagerduty: PagerDuty integration for sending alert events and querying incidents and users.

  • retry: Helper function for retrying operations.

  • rootly: Rootly webhook alert source integration for sending alerts via generic webhook.

  • sds: VIP Site Details Service API broker library.

  • sleep: Sleep utility.

Usage

Please refer to each individual library documentation above.

Contributing

See CONTRIBUTING.md for details on development, testing, publishing, etc.

版本与发布记录

@automattic/vip-go-node-internal 共发布 128 个版本,首次发布于 2022/08/13;过去 12 个月发布了 26 个版本。

版本发布日期距今
2.21.13latest2026/10/2414 天前
2.21.122026/10/2117 天前
2.21.112026/10/0930 天前
2.21.102026/10/0830 天前
2.21.92026/09/261 个月前
2.21.82026/09/241 个月前

关于 @automattic/vip-go-node-internal 的常见问题

@automattic/vip-go-node-internal 是什么?

Modules to help run internal VIP Node.js applications.

如何安装 @automattic/vip-go-node-internal?

在项目目录运行 npm install @automattic/vip-go-node-internal,或使用 pnpm add / yarn add / bun add。

@automattic/vip-go-node-internal 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@automattic/vip-go-node-internal 支持 ESM 还是 CommonJS?

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

@automattic/vip-go-node-internal 可以商用吗?

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

@automattic/vip-go-node-internal 的下载量有多少?

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

@automattic/vip-go-node-internal 还在维护吗?

最新版本 2.21.13 发布于 2026/10/24(14 天前);至今共发布 128 个版本,其中过去 12 个月发布了 26 个;首次发布于 2022/08/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。