Skip to content

zendive/jsdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsdiff

Chrome devtools extension intended to display result of in-memory object comparisons with the help of dedicated commands invoked via console.

Example

console.diff(left, right);
console.diffLeft(left);
console.diffRight(right);
console.diffPush(next); // private case of console.diff with single argument

screenshot

Usage basics

Left side for old state, right side for new. To track changes of the same object in timed manner you can push it with diffPush command, that will shift objects from right to left, showing differences with previous push state.

Based on

jsondiffpatch by benjamine