variable-diff
Visual diff between 2 javascript variables. Shows only the difference and ignores keys that are the same. Diff is formatted in an easy to read format.
Use
npm install variable-diff
var diff = ; var result = ;console; // You can pass all or some of these optionsvar defaultOptions = indent: ' ' newLine: '\n' { return chalktypeColorstypetext; } color: true;
Test
npm test