# 使用 npm 安装 ctrf

查看 ctrf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:ctrf
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g ctrf
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:ctrf
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/ctrf>
- **版本:** 0.2.1
- **来源摘要:** CTRF reference implementation in TypeScript for creating and validating CTRF documents.
- **主页:** <https://ctrf.io>
- **仓库:** <https://github.com/ctrf-io/ctrf-js>
- **上游文档:** <https://ctrf.io>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/ctrf/-/ctrf-0.2.1.tgz>
- **问题跟踪器:** <https://github.com/ctrf-io/ctrf-js/issues>
- **发布时间:** 2026-06-06T17:15:37.667Z
- **最后更新:** 2026-06-06T17:15:37.667Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ctrf (cli)
- ctrf (别名)

## 依赖

- ajv
- ajv-formats
- glob
- yargs

## 构建依赖

- @arethetypeswrong/cli
- @d2t/vitest-ctrf-json-reporter
- @eslint/js
- @types/node
- @types/yargs
- @vitest/coverage-v8
- eslint
- prettier
- tsup
- typedoc
- typedoc-plugin-markdown
- typescript
- typescript-eslint
- vitest

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.2.1
- 管理器更新时间: 2026-06-06
- 本地数据: OK
- 上游仓库: https://github.com/ctrf-io/ctrf-js
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 ctrf 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.2.1, Next: 0.2.0-next-1
- **Version Count:** 35
- **Maintainers:** ctrf-io
- **Author:** Matthew Poulton-White
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.19.0
- **Integrity:** sha512-iUo/eHcM5yG8aBS3Miqce9NNiZCtmVZxPpgmZEJIZ96bubwj7IpZx3IqsDqCH2FZjR71EH2NLtbBhtfzDjpaUg==
- **Shasum:** 81ef73a8bfcb17fffc027f2fdf49a4c729f7f623
- **Unpacked Size:** 223,677
- **File Count:** 0
- **Created At:** 2024-06-09T17:29:36.426Z
- **Latest Published At:** 2026-06-06T17:15:37.667Z
- **Modified At:** 2026-06-06T17:15:37.928Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [junit-to-ctrf](https://pkg.so/zh-hans/npm/junit-to-ctrf/) - Both packages work with overlapping file formats or content types. Shared terms: cli, ctrf, developer, developer-tools, glob.
- [jest-stare](https://pkg.so/zh-hans/npm/jest-stare/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, json, report.
- [detox](https://pkg.so/zh-hans/npm/detox/) - Both packages work with overlapping file formats or content types. Shared terms: ajv, cli, developer, developer-tools, glob.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
