@axe-core/axe

中文文档
1.0.0发布于 2020/04/13UNLICENSEDCommonJS零依赖近 30 天下载 3.2万

The family of axe tools

原始使用文档
文档目录5 节
  1. Free browser extensions
  2. CLI
  3. APIs
  4. Acknowledgements
  5. Need help?

axe logo

The axe family of tools help you check for digital accessibility. They are built on the open-source axe-core accessibility engine for automated Web UI testing. To make it easy to get started, it is available as:

  • Free browser extensions
  • Open-source CLI
  • APIs for JavaScript, Java, and Ruby

Free browser extensions

Perform interactive testing extensions to the Developer tools built into the browser:

CLI

Use the command line interface to easily add accessibility checks into your build/integration scripts.

  • Install the npm package and begin to use it immediately
  • Or, clone the GitHub repo and modify it to your heart's content :-)

APIs

All built on the foundation of axe-core, these APIs make integration with your testing framework easier:

Acknowledgements

These axe tools are brought to you by your friends at Deque more than 100 contributors from around the world. We are all committed to making the web accessible to all.

Need help?

At Deque, our mission is Digital Equality. If you need help integrating accessibility testing into your development process, get in touch, and we will be happy to help you make your products accessible to all.

Deque logo

版本与发布记录

@axe-core/axe 共发布 1 个版本,首次发布于 2020/04/13;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.0latest2020/04/136 年前

关于 @axe-core/axe 的常见问题

@axe-core/axe 是什么?

The family of axe tools

如何安装 @axe-core/axe?

在项目目录运行 npm install @axe-core/axe,或使用 pnpm add / yarn add / bun add。

@axe-core/axe 支持 TypeScript 吗?

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

@axe-core/axe 支持 ESM 还是 CommonJS?

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

@axe-core/axe 可以商用吗?

@axe-core/axe 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@axe-core/axe 的下载量有多少?

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

@axe-core/axe 还在维护吗?

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