util-extend

Node's internal object extension function

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
util-extend
1.0.37 years ago9 years agoMinified + gzip package size for util-extend in KB

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.
}