util-extend

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i util-extend

Weekly Downloads

1,017,123

Version

1.0.3

License

MIT

Last publish

Collaborators

  • isaacs