@f/extend
v1.0.0
Published
Simple shallow extend implementation
Downloads
143
Readme
extend
Simple shallow extend implementation
Installation
$ npm install @f/extendUsage
var extend = require('@f/extend')
extend({}, defaultOpts, opts)API
extend(dst, ...objs)
dst- The destination object to copy the properties of...objsinto...objs- A variable length list of objects who's properties you want to copy intodst. They will be copied in increasing order of precedence (i.e. those that come later will overwrite those that come earlier)
Returns: dst
License
MIT
