@daisy/ace

中文文档
1.4.6发布于 2026/04/25MITCommonJS构建来源已验证近 30 天下载 1万

Ace by DAISY, an Accessibility Checker for EPUB

原始使用文档

Ace, by DAISY

Version License Downloads
Travis CI Open Bugs Dependencies Status Known Vulnerabilities

Ace, the Accessibility Checker for EPUB, is a tool developed by the DAISY Consortium to assist with the evaluation of the accessibility of EPUB publications.

Getting started

  • Install Node.JS (version 6 or higher).
  • Install Ace with npm install @daisy/ace -g

If everything went smoothly, you should now be able to run the ace command in your shell.

Need more info?

User and developer documentation is available on Ace’s web site.

The sources for this package are in the @daisy/ace GitHub repository. Please use this repository to file issues and submit pull requests.

版本与发布记录

@daisy/ace 共发布 68 个版本,首次发布于 2017/12/13;过去 12 个月发布了 9 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.4.6latest2026/04/256 个月前
1.4.52026/04/136 个月前
1.4.42026/04/117 个月前
1.4.32026/04/117 个月前
1.4.22026/04/107 个月前
1.4.2-alpha.2next2026/04/057 个月前

关于 @daisy/ace 的常见问题

@daisy/ace 是什么?

Ace by DAISY, an Accessibility Checker for EPUB

如何安装 @daisy/ace?

在项目目录运行 npm install @daisy/ace,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 ace、ace-http、ace-electron、ace-puppeteer,可以用 npx ace 直接运行。

@daisy/ace 支持 TypeScript 吗?

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

@daisy/ace 支持 ESM 还是 CommonJS?

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

@daisy/ace 需要什么版本的 Node.js?

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

@daisy/ace 可以商用吗?

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

@daisy/ace 的下载量有多少?

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

@daisy/ace 还在维护吗?

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