Optional
Default: false
false
Turn on logging to help debug why certain keys or values are not being set as you expect.
example: require('dotenv').config({ debug: process.env.DEBUG })
require('dotenv').config({ debug: process.env.DEBUG })
Override any environment variables that have already been set on your machine with values from your .env file.
example: require('dotenv').config({ override: true })
require('dotenv').config({ override: true })
Generated using TypeDoc
Default:
false
Turn on logging to help debug why certain keys or values are not being set as you expect.
example:
require('dotenv').config({ debug: process.env.DEBUG })