1.0.0 • Published 8 years ago
extend-or-modify v1.0.0
Extend-or-modify
Modifies or extends object
Example
var config = {
some: 'defaultValue'
}
module.exports = require('extend-or-modify')(config, './config.mod.js')
./config.mod.js
can be path to module or module itself, that returns a modifier function or object
1.0.0
8 years ago