npm
npmjs.com › package › json-diff
json-diff - npm
% json-diff --help Usage: json-diff [-vCjfonskKp] first.json second.json Arguments: <first.json> Old file <second.json> New file General options: -v, --verbose Output progress info -C, --[no-]color Colored output -j, --raw-json Display raw JSON encoding of the diff -f, --full Include the equal sections of the document, not just the deltas --max-elisions COUNT Max number of ...s to show in a row in "deltas" mode (before collapsing them) -o, --output-keys KEYS Always print this comma separated keys, with their value, if they are part of an object with any diff -x, --exclude-keys KEYS Exclude these comma separated keys from comparison on both files -n, --output-new-only Output only the updated and new key/value pairs (without marking them as such).
» npm install json-diff
Published May 15, 2023
Version 1.0.6
Author Andrey Tarantsov
Repository https://github.com/andreyvit/json-diff
npm
npmjs.com › package › json-diff-kit
json-diff-kit - npm
November 23, 2025 - A better JSON differ & viewer.. Latest version: 1.0.35, last published: 14 days ago. Start using json-diff-kit in your project by running `npm i json-diff-kit`. There are 7 other projects in the npm registry using json-diff-kit.
» npm install json-diff-kit
Published Mar 03, 2026
Version 1.0.35
Author Rex Zeng
Repository https://github.com/RexSkz/json-diff-kit
json-diff-viewer-component - Compare JSON side-by-side, visually
Very interesting, will try it out. Expecially nice job making the colors look good in light or dark mode! More on reddit.com
Is there a library that allows to easily do diffchecks between two json?
I mean, you could stringify them both and check if they are equal or not… would be a quick and dirty way. More on reddit.com
Should you delete and regenerate your package-lock.json every now and then?
Should you delete your package-lock.json every now and then and regenerate a new one to keep things "updated"? You do want to occasionally update your dependencies to get bug fixes, security updates and the latest features but not by deleting the package-lock file. If you use npm you can run npm outdated to see which dependencies have updates and then ìnstall those updates individually, with you making sure your app doesn't break between each individual update. You still have to update the packages with breaking changes manually though. You can also run npm update to update all dependencies to their newest update with non-breaking changes, so they should in theory not break your app (but it can still happen). If you want to make it easy for yourself you can run npm install -g npm-check-updates ncu --interactive --format group To get an interactive view where you can choose what to update where it also shows you which are breaking changes/minor changes/patch changes. More on reddit.com
npm module to query json
This would work for this specific problem. You can look into Javascrips array and object methods. employees.reduce((prev, employee) => prev + employee.age, 0) / employees.length More on reddit.com
npm
npmjs.com › package › diff-json
diff-json - npm
May 13, 2019 - Generates diffs of javascript objects.. Latest version: 2.0.0, last published: 7 years ago. Start using diff-json in your project by running `npm i diff-json`. There are 17 other projects in the npm registry using diff-json.
» npm install diff-json
Published May 13, 2019
Version 2.0.0
Author viruschidai@gmail.com
Repository https://github.com/viruschidai/diff-json
npm
npmjs.com › package › json-diff-ts
json-diff-ts - npm
2 weeks ago - Calculate and apply differences between JSON objects with advanced features like key-based array diffing, JSONPath support, and atomic changesets.. Latest version: 4.10.0, last published: 11 days ago.
» npm install json-diff-ts
Published Mar 06, 2026
Version 4.10.0
Author Christian Glessner
Repository https://github.com/ltwlf/json-diff-ts
GitHub
github.com › benjamine › jsondiffpatch
GitHub - benjamine/jsondiffpatch: Diff & patch JavaScript objects · GitHub
(optionally) text diffing of long strings powered by google-diff-match-patch (diff at character level) reverse a delta, unpatch (eg. revert object to its original state using a delta) ... // sample data const country = { name: 'Argentina', capital: 'Buenos Aires', independence: new Date(1816, 6, 9), }; // clone country, using dateReviver for Date objects const country2 = JSON.parse(JSON.stringify(country), jsondiffpatch.dateReviver); // make some changes country2.name = 'Republica Argentina'; country2.population = 41324992; delete country2.capital; const delta = jsondiffpatch.diff(country, cou
Starred by 5.3K users
Forked by 496 users
Languages TypeScript 94.7% | CSS 2.9% | JavaScript 2.4%
Reddit
reddit.com › r/npm › json-diff-viewer-component - compare json side-by-side, visually
r/npm on Reddit: json-diff-viewer-component - Compare JSON side-by-side, visually
January 23, 2026 -
json-diff-viewer-component
Compare JSON side-by-side, visually
A zero-dependency web component for visualizing JSON differences with synchronized scrolling, collapsible nodes, and syntax highlighting
Features
Deep nested JSON comparison
Side-by-side synchronized scrolling
Collapsible nodes (synced between panels)
Diff indicators bubble up to parent nodes
Stats summary (added/removed/modified)
Show only changed filter toggle
Syntax highlighting
Zero dependencies
Shadow DOM encapsulation
source: github.com/metaory/json-diff-viewer-component
live demo: metaory.github.io/json-diff-viewer-component
jsDelivr
jsdelivr.com › package › npm › json-diff-rfc6902
json-diff-rfc6902 CDN by jsDelivr - A CDN for npm and GitHub
May 10, 2016 - A free, fast, and reliable CDN for json-diff-rfc6902. This framework is to compare two JSON data and generate the Patch
Published Mar 15, 2016
Repository https://github.com/caohanyang/JSON-Diff
npm
npmjs.com › search
keywords:json compare - npm search
Library to compare two (JSON-serializable) structures and return their differences.
npm
npmjs.com › package › json-diff-audit
json-diff-audit - npm
August 1, 2024 - json-diff-audit is a Node.js library that compares JSON objects consecutively, identifies differences, and generates detailed audit records for easy reporting and tracking changes.
» npm install json-diff-audit
Published Aug 01, 2024
Version 1.0.0
npm
npmjs.com › package › @types › json-diff
@types/json-diff - npm
January 9, 2024 - TypeScript definitions for json-diff. Latest version: 1.0.3, last published: 2 years ago. Start using @types/json-diff in your project by running `npm i @types/json-diff`. There are 14 other projects in the npm registry using @types/json-diff.
» npm install @types/json-diff
Published Jan 09, 2024
Version 1.0.3
npm
npmjs.com › package › json-difference
json-difference - npm
February 4, 2024 - json difference lib. Latest version: 1.16.1, last published: 2 years ago. Start using json-difference in your project by running `npm i json-difference`. There are 13 other projects in the npm registry using json-difference.
» npm install json-difference
Published Feb 04, 2024
Version 1.16.1
Author lukascivil
Reddit
reddit.com › r/reactjs › is there a library that allows to easily do diffchecks between two json?
r/reactjs on Reddit: Is there a library that allows to easily do diffchecks between two json?
October 13, 2022 -
I am wondering if there's something that allows you to easily display differences between two json like on diffchecker.com. Is there a library that allows you to easily do that?
NPM Compare
npm-compare.com › deep-diff,json-diff,jsondiffpatch
deep-diff vs jsondiffpatch vs json-diff - NPM Compare
Choose deep-diff if you need a library that provides a comprehensive and detailed comparison of nested objects, including the ability to track added, deleted, and modified properties. It is particularly useful for deep comparisons and offers a clear output format for the differences found. ... Choose jsondiffpatch if you need advanced features such as the ability to apply patches to JSON objects, revert changes, or visualize differences.
Npmdiff
npmdiff.dev › @forge › storage › 1.6.0 › 1.7.0-next.0 › package › package.json
@forge/storage 1.6.0 → 1.7.0-next.0 - npm diff
Index: package/package.json =================================================================== --- package/package.json +++ package/package.json @@ -1,7 +1,7 @@ { "name": "@forge/storage", - "version": "1.6.0", + "version": "1.7.0-next.0", "description": "Forge Storage methods", "author": "Atlassian", "license": "UNLICENSED", "main": "out/index.js", @@ -17,8 +17,8 @@ "devDependencies": { "@types/node": "14.18.63", "@types/node-fetch": "^2.6.11", "node-fetch": "2.7.0", - "@forge/util": "1.4.4", + "@forge/util": "1.4.6", "@atlassian/metrics-interface": "4.0.0" } }
npm
npmjs.com › package › @tzm96dev › deep-json-diff
@tzm96dev/deep-json-diff - npm
A utility to perform deep comparison of JSON objects to find differences.. Latest version: 1.1.0, last published: a year ago. Start using @tzm96dev/deep-json-diff in your project by running `npm i @tzm96dev/deep-json-diff`. There are no other ...
» npm install @tzm96dev/deep-json-diff
Published Sep 12, 2024
Version 1.1.0
Author TaLhA ZuBaIr MaYo