Methods
(static) fromEnv(env, mappings) → {Promise.<Config>}
Create and initialize a config instance process environment variables
Parameters:
Name | Type | Description |
---|---|---|
env |
object | given process environment |
mappings |
Array | environment mappingsflamingo/src/util/env-config |
Returns:
initialized config instance
- Type
- Promise.<Config>