plain-object-merge
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Plain Object Merge

Extremely fast function optimized for deep merging json-serializable plain objects.

Install

npm install plain-object-merge

Usage

import merge from 'plain-object-merge';

// Let's merge some objects together

merge ([
  { deep: { foo: 123 } },
  { deep: { bar: 123 } }
]); // => { deep: { foo: 123, bar: 123 } }

License

MIT © Fabio Spampinato

Package Sidebar

Install

npm i plain-object-merge

Weekly Downloads

163

Version

2.0.2

License

MIT

Unpacked Size

3.98 kB

Total Files

7

Last publish

Collaborators

  • fabiospampinato