Class: EnvLayer

EnvLayer()

Layer that uses process.env as the source of data, with filter by prefix and even a JSON parsing!

Constructor

new EnvLayer()

Source:

Extends

Members

name

Get class name

Inherited From:
Source:

Methods

get(path)

Get config value by path

Parameters:
Name Type Description
path string
Inherited From:
Source:

(async) init() → {Promise.<void>}

Initialize layer and load it's data, override it

Overrides:
Source:
Returns:
Type
Promise.<void>

set(path, value)

Set config value by path

Parameters:
Name Type Description
path string
value *
Inherited From:
Source: