Constructor
new Config(defaultConf)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
defaultConf |
object
|
default configuration object |
Methods
loadFromDir(dir)
Loads configuration
- Source:
Parameters:
Name | Type | Description |
---|---|---|
dir |
object
|
directory |
merge(config)
Add config
- Source:
Parameters:
Name | Type | Description |
---|---|---|
config |
array
|
configuration object |