v9.1.0
envaptInterfaces

EnvFileOptions

Options for the .env loader, matching the dotenv config() options of the same name. For debug output, use Envapter.debug (or the ENVAPT_DEBUG env var).

See

https://envapt.materwelon.dev/docs/env-files#file-options

Properties

PropertyTypeDescription
encoding?stringEncoding for reading .env files. Defaults to 'utf8'.
override?booleanWhen true, each file's values replace earlier files' values and values already in process.env for envapt's reads. process.env itself changes only with syncProcessEnv. With the default false, the first value for each key stays.

On this page