1.0.0 • Published 8 years ago

extend-or-modify v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

Extend-or-modify Codeship

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