deepmerge
- Version 4.3.1
- Published
- 31.2 kB
- No dependencies
- MIT license
Install
npm i deepmerge
yarn add deepmerge
pnpm add deepmerge
Overview
A library for deep (recursive) merging of Javascript objects
Index
Functions
Interfaces
interface ArrayMergeOptions
interface ArrayMergeOptions {}
method cloneUnlessOtherwiseSpecified
cloneUnlessOtherwiseSpecified: (value: object, options?: Options) => object;
method isMergeableObject
isMergeableObject: (value: object) => boolean;
interface Options
interface Options {}
property clone
clone?: boolean;
property customMerge
customMerge?: ( key: string, options?: Options) => ((x: any, y: any) => any) | undefined;
method arrayMerge
arrayMerge: (target: any[], source: any[], options?: ArrayMergeOptions) => any[];
method isMergeableObject
isMergeableObject: (value: object) => boolean;
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (11)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/deepmerge
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/deepmerge)
- HTML<a href="https://www.jsdocs.io/package/deepmerge"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1439 ms. - Missing or incorrect documentation? Open an issue for this package.