Diff & patch JavaScript objects.

Features

  • Browser and server (/dist folder with bundles for UMD, commonjs, or ES modules)
  • (optionally) Uses google-diff-match-patch for long text diffs (diff at character level)
  • Unpatch (eg. revert object to its original state using a delta)
  • Multiple output formatters
  • Smart array diffing using LCS
  • Min+gzipped ~ 16KB

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow jsondiffpatch

jsondiffpatch Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of jsondiffpatch!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript JSON Software

Registered

2023-10-09