Configure options below — the preview updates in real time.
Options that control how the dotenv library loads and resolves environment variables.
Specifies a custom path to the file containing environment variables. Supports a single path or multiple paths. If multiple paths are provided, files are parsed sequentially and combined.
Specifies the character encoding of the .env file so the parser can read it properly.
Specifies a custom object to inject parsed variables into instead of the default process.env. Useful for isolating environment variables from the global scope.
Pass the DOTENV_KEY directly to config options for decrypting .env.vault files. Defaults to process.env.DOTENV_KEY if not provided.
Controls how the .env file output is generated.
Defines how values should be wrapped in the generated file. Single quotes treat all characters literally. Double quotes respect escape sequences and variable expansion.
Generates an inline comment prefixed with # at the end of each variable declaration (e.g. KEY=value # This is a comment).
Define your application's environment variables as KEY=VALUE pairs.
Key-value pairs of environment variable names and their values. Keys should be uppercase with underscores by convention.
1