@indlekofer/object_merge

1.1.1 • Public • Published

@indlekofer/object_merge

Usage

import merge from '@indlekofer/object_merge';
var obj = merge([
  {test: 1, test2: 2, test3: 3},
  {test4: 4}
]);
console.log(obj); //=> {test: 1, test2: 2, test3: 3, test: 4}

Parameters

objects: array with any amount of objects to merge

Readme

Keywords

none

Package Sidebar

Install

npm i @indlekofer/object_merge

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

1.74 kB

Total Files

4

Last publish

Collaborators

  • daind