extend-or-modify

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i extend-or-modify

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • alex0007
  • whitecolor