based-on
var settings = ; ;// { key: 'value', other: 'value2' } // { key: 'value', other: 'value2', test: 'ing' } var otherSettings = settings; ;// { key: 'value', other: 'true' } ;// { key: 'test', other: 'true' }
Install
npm:
npm install based-on
Bower:
bower install based-on
Or just download from here