Object deep diff Gives the difference between the source and defaults i.e result = source - defaults Usage var diff = require("object-deep-diff"); ... result = diff(defaults,source) ...