export class Config { private static instance: Config | null = null; public static values: Record<string, string> = {}; static get(): Config { if (!this.instance) this.instance = new Config(); return this.instance; } set(k: string, v: string) { Config.values[k] = v; } get(k: string) { return Config.values[k]; } } (globalThis as any).config = Config.get();