Skip to main content
Build a Spectrum config env-var name from a channel and a key, centralizing the SPECTRUM_<CHANNEL>_<KEY> convention so the prefix can’t drift or be mistyped per field. Both segments are joined verbatim (callers pass them already upper-snake-cased), e.g. envFor("TELEGRAM", "BOT_TOKEN") → "SPECTRUM_TELEGRAM_BOT_TOKEN".