# 使用 npm 安装 yaml-diff-patch

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

## 安装

```sh
sudo av install npm:yaml-diff-patch
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g yaml-diff-patch
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:yaml-diff-patch
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/yaml-diff-patch>
- **版本:** 2.0.0
- **来源摘要:** Apply a JSON diff/patch to YAML while preserving whitespace, comments and overall structure
- **主页:** <https://github.com/grantila/yaml-diff-patch#readme>
- **仓库:** <https://github.com/grantila/yaml-diff-patch>
- **上游文档:** <https://github.com/grantila/yaml-diff-patch#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/yaml-diff-patch/-/yaml-diff-patch-2.0.0.tgz>
- **问题跟踪器:** <https://github.com/grantila/yaml-diff-patch/issues>
- **发布时间:** 2022-08-24T12:38:34.933Z
- **最后更新:** 2022-08-24T12:38:34.933Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- yaml-diff-patch (cli)
- yaml-overwrite (cli)
- yaml-patch (cli)
- yaml-diff-patch (别名)

## 依赖

- fast-json-patch
- oppa
- yaml

## 构建依赖

- @types/jest
- commitizen
- jest
- rimraf
- ts-jest
- typescript

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.0.0
- 管理器更新时间: 2022-08-24
- 本地数据: OK
- 上游仓库: https://github.com/grantila/yaml-diff-patch
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.0
- **Version Count:** 6
- **Maintainers:** grantila
- **Author:** Gustaf Räntilä
- **Publisher:** grantila
- **Engines:** Node: >=14
- **Integrity:** sha512-RhfIQPGcKSZhsUmsczXAeg5jNhWXk3tAmhl2kjfZthdyaL0XXXOpvRozUp22HvPStmZsHu8T30/UEfX9oIwGxw==
- **Shasum:** 0eb4ff80a75e182e74417fb6b0b54214a49bf13d
- **Unpacked Size:** 33,034
- **File Count:** 0
- **Created At:** 2021-06-13T19:05:34.006Z
- **Latest Published At:** 2022-08-24T12:38:34.933Z
- **Modified At:** 2022-08-24T12:38:35.021Z


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [yaml-language-server](https://www.automicvault.com/zh-hans/pkg/npm/yaml-language-server/) - Both packages work with overlapping file formats or content types. Shared terms: json, yaml.
- [ajv-cli](https://www.automicvault.com/zh-hans/pkg/npm/ajv-cli/) - Both packages work with overlapping file formats or content types. Shared terms: fast, fast-json-patch, json, patch, yaml.
- [pajv](https://www.automicvault.com/zh-hans/pkg/npm/pajv/) - Both packages work with overlapping file formats or content types. Shared terms: fast, fast-json-patch, json, patch, yaml.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
