Merge-objects👯‍♂️

@common-utilities/merge-objects 🧰

Typed with TypeScriptarrow-up-right npm versionarrow-up-right

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 utilitiesarrow-up-right on Github.

Last updated

Was this helpful?