Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 6 gadi atpakaļ | |
---|---|---|
.. | ||
LICENSE | 6 gadi atpakaļ | |
README.md | 6 gadi atpakaļ | |
index.js | 6 gadi atpakaļ | |
package.json | 6 gadi atpakaļ |
Extend an object with the properties of additional objects. node.js/javascript util.
Install with npm
$ npm i extend-shallow --save
var extend = require('extend-shallow');
extend({a: 'b'}, {c: 'd'})
//=> {a: 'b', c: 'd'}
Pass an empty object to shallow clone:
var obj = {};
extend(obj, {a: 'b'}, {c: 'd'})
//=> {a: 'b', c: 'd'}
Object
constructor.Install dev dependencies:
$ npm i -d && npm test
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on June 29, 2015.