Env

Stores and accesses loaded environment variables. All environment variables are case-insensitive, and their names are stored in upper case.

Members

Static functions

load
void load(string fileName = ".env", bool copySystem = true)

Copies environment variables, then loads the dotenv file, if present. Variables declared in the .env file will override system environment variables. All variable names are case-insensitive, and are stored as upper case.

loadSystem
void loadSystem()

Loads system environment variables (but not the dotenv file).

Meta