extend-shallow

Extend javascript object A with the properties of object B.

Install

Install with npm

npm i extend-shallow --save

Run tests

npm test

Usage

var extend = require('extend-shallow');

extend({a: 'b'}, {c: 'd'})
//=> {a: 'b', c: 'd'}

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license

This file was generated by verb-cli on October 28, 2014.

Last updated