UNPKG

@expressots/shared

Version:

Shared library for ExpressoTS modules 🐎

23 lines (22 loc) 781 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OPTIONS = void 0; /** * The options for the dotenv configuration. */ exports.OPTIONS = {}; if (process.env.DOTENV_CONFIG_ENCODING != null) { exports.OPTIONS.encoding = process.env.DOTENV_CONFIG_ENCODING; } if (process.env.DOTENV_CONFIG_PATH != null) { exports.OPTIONS.path = process.env.DOTENV_CONFIG_PATH; } if (process.env.DOTENV_CONFIG_DEBUG != null) { exports.OPTIONS.debug = process.env.DOTENV_CONFIG_DEBUG === "true"; } if (process.env.DOTENV_CONFIG_OVERRIDE != null) { exports.OPTIONS.override = process.env.DOTENV_CONFIG_OVERRIDE === "true"; } if (process.env.DOTENV_CONFIG_DOTENV_KEY != null) { exports.OPTIONS.vaultEnvKey = process.env.DOTENV_CONFIG_DOTENV_KEY; }