Skip to content

nxcd/merge-deep

Repository files navigation

Build Status GitHub license Javascript code Style Github All Releases GitHub package version

Instalation

Simply run

NPM:

$ npm install @nxcd/merge-deep

Yarn:

$ yarn add @nxcd/merge-deep

Usage

Javascript:

const mergeDeep = require('@nxcd/merge-deep')

const target = { a: 'a' }
const source = { b: 'b' }

mergeDeep(target, source) // { a: a, b: b }