Optional
options: DotenvConfigOptionsadditional options. example: { path: './custom/path', encoding: 'latin1', debug: true, override: false }
Optional
an object with a parsed
key if successful or error
key if an error occurred. example: { parsed: { KEY: 'value' } }
Generated using TypeDoc
Loads
.env
file contents into process.env by default. IfDOTENV_KEY
is present, it smartly attempts to load encrypted.env.vault
file contents into process.env.See https://docs.dotenv.org