Skip to content
JS
Package

yaml-diff-patch

Apply a JSON diff/patch to YAML while preserving whitespace, comments and overall structure

v2.0.0, 24 Aug 2022MITCommonJSTypes: Bundled
$ npm install yaml-diff-patch

Key numbers

As of 25 Sept 2026
Weekly downloads
61.4k
-4% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v2.0.0
GitHub stars
24
5 forks
Open issues / PRs
2 / 5
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 117.1k (3 Mar 2026)Low 40.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

61,352 downloads last week, 290,200 in the last month. The 12-month change of -4% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.0, 24 Aug 20224 years ago
First published
-
Last push to GitHub
16 Aug 20231,135 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
16

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14
Runtimes
-
Unpacked size (npm)
32 kB
Dependencies (3)
oppayamlfast-json-patch
npm install yaml-diff-patch
  • jsDelivrhttps://cdn.jsdelivr.net/npm/yaml-diff-patch@2.0.0/
  • unpkghttps://unpkg.com/yaml-diff-patch@2.0.0/
  • esm.shhttps://esm.sh/yaml-diff-patch@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.