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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    920,660
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    920,660
  • 1.0.2
    0
  • 1.0.1
    967
  • 1.0.0
    2

Package Sidebar

Install

npm i util-extend

Weekly Downloads

921,629

Version

1.0.3

License

MIT

Last publish

Collaborators

  • isaacs