Class EnvConfiguration

Hierarchy

  • EnvConfiguration

Constructors

Properties

Methods

Constructors

Properties

container: {
    [name: string]: any;
} = {}

Type declaration

  • [name: string]: any

Methods

  • Returns the value for a configuration option.

    Priority is first process.env, then manually set options, then values from the loaded env file.

    Type Parameters

    • T = any

    Parameters

    • name: string

    Returns T

  • Sets an option value. If a env file has been read, it will be overwritten.

    Parameters

    • name: string
    • value: any

    Returns void

Generated using TypeDoc