Merge-objects👯‍♂️

@common-utilities/merge-objects 🧰

Typed with TypeScript npm version

MergeObjects is a common function for merging two objects deeply.

Install

yarn add @common-utilities/merge-objects -D

Usage

mergeObjects({ foo: 'bar' }, { baz: 'biz' })
// => { foo 'bar', baz: 'biz' }

Common Utilities 🧰

No cruft. No bloat. No dependencies.

Simple, typed, functional, documented, and tested javascript utility functions.

View other common utilities on Github.

Last updated

Was this helpful?