JSPM

util-extend

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1144182
  • Score
    100M100P100Q187114F
  • License MIT

Node's internal object extension function

Package Exports

  • util-extend

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (util-extend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

util-extend

The Node object extending function that Node uses for Node!

Usage

var extend = require('util-extend');
function functionThatTakesOptions(options) {
  var options = extend(defaults, options);
  // now any unset options are set to the defaults.
}