deep-assign
Recursive
Object.assign()
Install
$ npm install --save deep-assign
Usage
var deepAssign = ; ;//=> {a: {b: 1, c: 3}}
deepAssign(target, source, [source, ...])
Recursively assigns own enumerable properties of source
objects to the target
object and returns the target
object. Additional source
objects will overwrite previous ones.
Related
- object-assign - ES2015 Object.assign() ponyfill
License
MIT © Sindre Sorhus