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

VersionDownloads (Last 7 Days)Tag
1.0.31,209,754latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.31,209,754
1.0.219
1.0.1566
1.0.02

Package Sidebar

Install

npm i util-extend

Weekly Downloads

930,551

Version

1.0.3

License

MIT

Last publish

Collaborators

  • isaacs