util-extend
Node's internal object extension function
Last updated 5 years ago by isaacs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install util-extend 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.3                                ...           latest (5 years ago)

4 Versions

  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 28
This Week 1,615
This Month 10,684
Last Day 891
Last Week 4,315
Last Month 21,675
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (166)

Copyright 2014 - 2017 © taobao.org |