deep-assign
Recursive Object.assign()

deep-assign downloads deep-assign version deep-assign license

deep-assignSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on deep-assign's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of deep-assign](https://npm-compare.com/img/npm-trend/THREE_YEARS/deep-assign.png)](https://npm-compare.com/deep-assign#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on deep-assign's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of deep-assign](https://npm-compare.com/img/github-trend/deep-assign.png)](https://npm-compare.com/deep-assign)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
deep-assign231,743247-07 years agoMIT
README for deep-assign

deep-assign Build Status

Recursive Object.assign()

Install

$ npm install --save deep-assign

Usage

var deepAssign = require('deep-assign');

deepAssign({a: {b: 0}}, {a: {b: 1, c: 2}}, {a: {c: 3}});
//=> {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

License

MIT © Sindre Sorhus