x-assign
An improved Object.assign that will merge nested objects and concatenate arrays.
Installation
$ npm install x-assign
Usage
const XAssign = require("x-assign");
const a = {red: "apple"};
const b = {green: "pear"};
const c = XAssign.assign(a, b);
console.log(c);
> {
> red: "apple",
> green: "pear"
> }
Need Support?
x-assign is a software development project by BinaryOps Software Inc.