How to use the extend-shallow.apply function in extend-shallow

To help you get started, we’ve selected a few extend-shallow examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jonschlinkert / template / lib / utils / index.js View on Github external
return function() {
    var args = [].slice.call(arguments);
    return extend.apply(extend, [thisArg].concat(args));
  };
};
github micromatch / glob-fs / lib / options.js View on Github external
setDefaults: function () {
      var args = [].slice.call(arguments);
      var opts = [{}].concat(this.options);
      return extend.apply(extend, opts.concat(args));
    },

extend-shallow

Extend an object with the properties of additional objects. node.js/javascript util.

MIT
Latest version published 6 years ago

Package Health Score

68 / 100
Full package analysis

Popular extend-shallow functions