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.

README.md 1.3KB

5 years ago
12345678910111213141516171819202122232425262728293031323334
  1. # utils-merge
  2. [![Version](https://img.shields.io/npm/v/utils-merge.svg?label=version)](https://www.npmjs.com/package/utils-merge)
  3. [![Build](https://img.shields.io/travis/jaredhanson/utils-merge.svg)](https://travis-ci.org/jaredhanson/utils-merge)
  4. [![Quality](https://img.shields.io/codeclimate/github/jaredhanson/utils-merge.svg?label=quality)](https://codeclimate.com/github/jaredhanson/utils-merge)
  5. [![Coverage](https://img.shields.io/coveralls/jaredhanson/utils-merge.svg)](https://coveralls.io/r/jaredhanson/utils-merge)
  6. [![Dependencies](https://img.shields.io/david/jaredhanson/utils-merge.svg)](https://david-dm.org/jaredhanson/utils-merge)
  7. Merges the properties from a source object into a destination object.
  8. ## Install
  9. ```bash
  10. $ npm install utils-merge
  11. ```
  12. ## Usage
  13. ```javascript
  14. var a = { foo: 'bar' }
  15. , b = { bar: 'baz' };
  16. merge(a, b);
  17. // => { foo: 'bar', bar: 'baz' }
  18. ```
  19. ## License
  20. [The MIT License](http://opensource.org/licenses/MIT)
  21. Copyright (c) 2013-2017 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
  22. <a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/utils-merge'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/vK9dyjRnnWsMzzJTQ57fRJpH/jaredhanson/utils-merge.svg' /></a>