You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
275 B
14 lines
275 B
5 years ago
|
# util-extend
|
||
|
|
||
|
The Node object extending function that Node uses for Node!
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```js
|
||
|
var extend = require('util-extend');
|
||
|
function functionThatTakesOptions(options) {
|
||
|
var options = extend(defaults, options);
|
||
|
// now any unset options are set to the defaults.
|
||
|
}
|
||
|
```
|