B

jsondiffpatch

By benjamine·Visit Source
Diff & patch JavaScript objects
April 18, 2025
Today
0 Clicks

What is this MCP

jsondiffpatch is a JavaScript library for comparing and patching JSON objects, generating deltas that represent the differences between two objects. It supports various output formats and advanced features like array diffing and text diffing.

How to use this MCP

Install via npm or use directly in the browser. Create a diff between two objects using jsondiffpatch.diff(), apply patches with jsondiffpatch.patch(), and reverse changes with jsondiffpatch.reverse(). Customize behavior with options like objectHash for array diffing.

What this MCP can be used for

jsondiffpatch is useful for version control systems, real-time collaborative editing, audit logging, and any application requiring efficient comparison and synchronization of JSON data structures.

Repository Info
Stars:
5292
Forks:
497
Watchers:
5292
Last Updated: Yesterday
Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.