config({ override: … })

Use the override alias for overload

Node.js config

dotenvx.config({ override: true })

Usage

Defaults to false. Applies to config, get, and parse. If both options are supplied, overload wins.


const dotenvx = require('@dotenvx/dotenvx')
dotenvx.config({ override: true })

markdown