githubEdit

utils-merge

Versionarrow-up-right Buildarrow-up-right Qualityarrow-up-right Coveragearrow-up-right Dependenciesarrow-up-right

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 Licensearrow-up-right

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

Sponsorarrow-up-right

Last updated