A small utility for deeply merging two different Javascript objects.
Installation
yarn add util-deep-merge
Usage
; const array1 = 1 2;const array2 = 2 3;;// => [1, 2, 3] const obj1 = id: 1 ;const obj2 = name: 'Mark' ;;// => { id: 1, name: 'Mark' } const obj1 = ids: 1 2 3 ;const obj2 = ids: 2 3 4 5 ;;// => { ids: [1, 2, 3, 4, 5] }; ;// => 'b' ;// => 2