Popularity
3.4
Stable
Activity
0.0
Stable
249
16
36

Code Quality Rank: L5
Programming language: JavaScript
License: MIT License
Tags: Miscellaneous     Copy     Object     Deep     Properties     Extend     Assign     Recursive     Clone     Values     Prop     Obj     Keys     Key     Mixin     Merge    
Latest version: v2.0.0

deep-assign alternatives and similar modules

Based on the "Miscellaneous" category.
Alternatively, view deep-assign alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of deep-assign or a related project?

Add another 'Miscellaneous' Module

README

DEPRECATED

Version 2 of this module ended up being something I don't want and I don't have time to fix it.

Check out lodash.merge or merge-options instead.


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


*Note that all licence references and agreements mentioned in the deep-assign README section above are relevant to that project's source code only.