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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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