Package to support nested merging of objects & properties, using Object.Assign
npm install nested-object-assign
npm install --save nested-object-assign
`
Usage
Works just like Object.Assign, add an empty object first (the object you want the other objects merged into), then as many objects as you wish afterwards, comma separated.
`js
import nestedObjectAssign from 'nested-object-assign';
const defaults = {}
function test() {
let data = nestedObjectAssign({}, defaults, object1, object2, object3);
}
``