Skip to content
console.diff(...)

console.diff(...)

by Alexander Block
5.0
2 reviews
244
users
Published
June 12, 2025

Screenshots

console.diff(...) screenshot 1
console.diff(...) screenshot 2
console.diff(...) screenshot 3

Description

An extension for developers that enhances the console API by incorporating the ability to compare objects and adds a JSDiff tab (parallel to Elements, Network panels) within your dev-tools for viewing the results. Motivation: Track object mutations during runtime and/or while debugging with intention to find expected or unexpected changes. Note: before using, immediately after fresh installation, - make sure to refresh inspected tab or restart browser. API: // compare left and right console.diff(left, right); // shorthand for console.diffPush(next) console.diff(next); // update object on the left side only console.diffLeft(left); // update object on the right side only console.diffRight(right); // shifts sides, right becomes left, next becomes right console.diffPush(next); Read more at: https://github.com/zendive/jsdiff
Add to Chrome

Quick Info

Version
3.1.1
Size
72.13KiB
Price
Free
Type
Extension

Categories

Languages

English