You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
634 B

7 years ago
  1. # utils-merge
  2. Merges the properties from a source object into a destination object.
  3. ## Install
  4. $ npm install utils-merge
  5. ## Usage
  6. ```javascript
  7. var a = { foo: 'bar' }
  8. , b = { bar: 'baz' };
  9. merge(a, b);
  10. // => { foo: 'bar', bar: 'baz' }
  11. ```
  12. ## Tests
  13. $ npm install
  14. $ npm test
  15. [![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge)
  16. ## Credits
  17. - [Jared Hanson](http://github.com/jaredhanson)
  18. ## License
  19. [The MIT License](http://opensource.org/licenses/MIT)
  20. Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>