OptionaldefaultDefault environment name used when env is not provided.
OptionaldefaultSeparator to use when converting a bare-key placeholder into an assignment.
OptionaldotenvBase dotenv filename token.
OptionalduplicateDuplicate key handling strategy.
OptionalenvSelected environment name (used when scope is env).
OptionaleolEOL normalization policy.
OptionalfsOptional filesystem port override (defaults to a Node FS adapter).
OptionalmodeEditing mode (merge vs sync).
Optionalnullnull behavior.
Search paths (directories) to locate the target dotenv file.
Privacy axis (public vs private).
OptionalprivatePrivate token used for private dotenv files.
Scope axis (global vs env-specific).
OptionalsearchPath search order.
OptionalsharedEnv name token substituted in place of the real env name when building the
shared env template filename (scope: 'env' only). For example, with the
default token 'env', the shared template for .env.<env>.local is
.env.env.local.template, and for .env.<env> it is .env.env.template.
The shared env template is the last tier: it is used only when neither the
env-scoped target nor its env-specific template (<target>.<templateExtension>)
exists in any path. An env-specific template in any path beats a shared
template in any path. This option has no effect for scope: 'global'.
OptionaltemplateTemplate extension used for bootstrap.
When a target does not exist anywhere under paths, but a template exists
(e.g. .env.local.template), the template will be copied to the target
path and then edited in place.
Optionalundefinedundefined behavior.
Options for resolving and editing a dotenv file in a multi-path cascade.