config(envKeysFile: '../../.env.keys')

Use envKeysFile to customize the path to your .env.keys file. This is useful with monorepos

Node

dotenvx.config(envKeysFile: '../../.env.keys')

Usage


# .env
HELLO="World"

// index.js
require('@dotenvx/dotenvx').config({path: ['.env'], envKeysFile: '../../.env.keys'})

markdown