/ssot-apply

Decides on, and applies, a single source of truth for process.env

Primary LanguageJavaScriptMIT LicenseMIT

ssot-apply

Applies the single source of truth (ssot) to your process.env.

Installation

npm install --save ssot-apply

Usage

require('ssot-apply').config();
// Your process.env has been updated with SSOT settings from CLI, .env, and /config/*.json

require('ssot-apply').parsed;
// Returns the parsed SSOT without modifying your process.env