Skip to content

readConfig

readConfig(env): ConfigOutcome

Parses the EDGEKIT_ settings in env into a ProxyConfig. It never throws: an invalid value counts as missing. A JSON setting may be a string or a native object or array. createProxy calls this itself and reports each issue as a warning.

Record<string, unknown>

ConfigOutcome