ya-merge
v1.0.1
Published
Yet another deep merge function
Downloads
3
Maintainers
Readme
ya-merge
Yet another deep merge function
Install
npm install --save ya-merge
Or
<script src="https://liksu.github.io/ya-merge/index.js"></script>
Example
import merge from "ya-merge";
const a = {foo: 1}
const b = {bar: 2}
const c = {baz: 3}
console.log(merge(a, b, c)) // { foo: 1, bar: 2, baz: 3 }