x-assign

0.1.4 • Public • Published

x-assign

An improved Object.assign that will merge nested objects and concatenate arrays.

Coverage Status Build Status

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.

Readme

Keywords

Package Sidebar

Install

npm i x-assign

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

4.03 kB

Total Files

4

Last publish

Collaborators

  • binaryops.mark