diff-utils
Simple utility functions that give you diffs of objects or arrays with unique strings:
Diffing objects:
var before = key1: 1 key2: 2var after = key1: 2 key3: 4var diff = findDiff// returns:modified: 'key1' added: 'key3' deleted: 'key2'
Diffing arrays (must have unique strings as elements):
var before = '1''2''3''4'var after = '2''1''5'var diff = findDiff// returns:added: '5' deleted: '3' '4'