node package manager

utils-merge

merge() utility function

utils-merge

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' } 

Tests

$ npm install
$ npm test

Build Status

Credits

License

The MIT License

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