Class: Config

Config(params)

A Config Object holds the configuration options of the current setup. These are all customizable by the user, and will default if no value is specified in the given params object. The object is frozen on initialization, so that no values can be changed after setup.

Constructor

new Config(params)

Parameters:
Name Type Description
params UserConfigurationOptions The config options set by the user
Source:

Methods

extend(params) → {Config}

Extend the current config into a new config with new params overriding old ones
Parameters:
Name Type Description
params UserConfigurationOptions The override options
Source:
Returns:
The extended configuration
Type
Config

extend(params) → {Config}

Extend the current config into a new config with new params overriding old ones
Parameters:
Name Type Description
params UserConfigurationOptions The override options
Source:
Returns:
The extended configuration
Type
Config