# Install yaml-diff-patch with npm

Apply a JSON diff/patch to YAML while preserving whitespace, comments and overall structure. Version 2.0.0 via npm; verified 2022-08-24.

## Install

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

Additional install commands:

### Portable and language managers

- npm (100%):

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

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:yaml-diff-patch
- **Package manager:** npm
- **Version:** 2.0.0
- **Source summary:** Apply a JSON diff/patch to YAML while preserving whitespace, comments and overall structure
- **Homepage:** <https://github.com/grantila/yaml-diff-patch#readme>
- **Last updated:** 2022-08-24T12:38:34.933Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- yaml-diff-patch (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.0

## Security Notes

No matching local secret-handling manifest was found for yaml-diff-patch. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Sources

- pkg.so package database
- pkgdb category and tag curation
- cross-ecosystem install command graph
