Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
LICENSE | D | 12-May-2024 | 1.1 KiB | 19 | 16 | |
README.md | D | 12-May-2024 | 275 | 14 | 10 | |
extend.js | D | 12-May-2024 | 1.4 KiB | 34 | 10 | |
package.json | D | 12-May-2024 | 1.2 KiB | 46 | 45 | |
test.js | D | 12-May-2024 | 453 | 11 | 10 |
README.md
1# util-extend 2 3The Node object extending function that Node uses for Node! 4 5## Usage 6 7```js 8var extend = require('util-extend'); 9function functionThatTakesOptions(options) { 10 var options = extend(defaults, options); 11 // now any unset options are set to the defaults. 12} 13``` 14