Skip to content

byzg/deepmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

deepmerge

This is fork of deepmerge library at the state

Orignal repository: https://github.com/KyleAMathews/deepmerge

Fork meaning

during two arrays of objects is megring it should not merge different objects in target array Example:

var foo = {a: {aa: [{aaa: 1, aab: 2}]}};
var bar = {a: {aa: [{aaa: 3, bbb: 5}]}};
deepmerge(foo, bar);

in original version output:

{a: {aa: [{aaa: 3, aab: 2, bbb: 5}]}};

in fork (this) version output:

{a: {aa: [{aaa: 1, aab: 2}, {aaa: 3, bbb: 5}]}};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published