@automattic/jetpack-boost-score-api

中文文档
1.3.2发布于 2026/11/05GPL-2.0-or-laterTypeScriptCommonJS构建来源已验证近 30 天下载 1866

A package to get the Jetpack Boost score of a site

原始使用文档
文档目录4 节
  1. How to install boost-score-api
  2. Using this package in your WordPress plugin
  3. Security
  4. License

boost-score-api

A package to get the Jetpack Boost score of a site

How to install boost-score-api

Add "@automattic/jetpack-boost-score-api": "workspace:*", to your project's package.json and run pnpm install (or yarn if your project uses yarn)

Using this package in your WordPress plugin

If you plan on using this package in your WordPress plugin, we would recommend that you use Jetpack Autoloader as your autoloader. This will allow for maximum interoperability with other plugins that use this package as well.

Security

Need to report a security vulnerability? Go to https://automattic.com/security/ or directly to our security bug bounty site https://hackerone.com/automattic.

License

boost-score-api is licensed under GNU General Public License v2 (or later)

版本与发布记录

@automattic/jetpack-boost-score-api 共发布 135 个版本,首次发布于 2023/05/30;过去 12 个月发布了 50 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.3.2latest2026/11/053 天前
1.3.12026/11/035 天前
1.3.02026/10/2612 天前
1.2.32026/10/2118 天前
1.2.22026/10/2019 天前
1.2.12026/10/1523 天前

关于 @automattic/jetpack-boost-score-api 的常见问题

@automattic/jetpack-boost-score-api 是什么?

A package to get the Jetpack Boost score of a site

如何安装 @automattic/jetpack-boost-score-api?

在项目目录运行 npm install @automattic/jetpack-boost-score-api,或使用 pnpm add / yarn add / bun add。

@automattic/jetpack-boost-score-api 支持 TypeScript 吗?

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

@automattic/jetpack-boost-score-api 支持 ESM 还是 CommonJS?

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

@automattic/jetpack-boost-score-api 可以商用吗?

@automattic/jetpack-boost-score-api 使用 GPL-2.0-or-later 许可。强 Copyleft:分发包含该代码的软件时,整个作品需以兼容的 GPL 许可开源。仅在内部使用、不对外分发时不触发此义务。以上为概括,不构成法律意见,请以许可原文为准。

@automattic/jetpack-boost-score-api 的下载量有多少?

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

@automattic/jetpack-boost-score-api 还在维护吗?

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