@wolfstar/env-utilities loads layered dotenv files and provides strict parsers for application configuration.
Load Dotenv Files
Use the side-effect entry point when the default.env path is enough:
setup:
.env.local is intentionally skipped in the test environment.
Type Application Keys
Augment the package’sEnv interface so parsers accept your keys:
Parse Values
ReferenceError. Invalid values throw TypeError. A provided default is returned as-is.
Configure the Loader Itself
You can setDOTENV_PATH, DOTENV_ENV, DOTENV_PREFIX, DOTENV_ENCODING, and DOTENV_DEBUG before setup. Keep secrets
outside source control and configure them through your deployment platform.