Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

utils-merge

jaredhanson155.5mMIT1.0.1TypeScript support: definitely-typed

merge() utility function

util

readme

utils-merge

Version Build Quality Coverage Dependencies

Merges the properties from a source object into a destination object.

Install

$ npm install utils-merge

Usage

var a = { foo: 'bar' }
  , b = { bar: 'baz' };

merge(a, b);
// => { foo: 'bar', bar: 'baz' }

License

The MIT License

Copyright (c) 2013-2017 Jared Hanson <http://jaredhanson.net/>

Sponsor