Loads and parses a hierarchical configuration from a remote URL (JSON or TXT). Fetches the resource, parses JSON, and resolves nested entries via URLs, arrays, or custom objects recursively.
The URL of the config file (JSON or TXT).
Fully resolved config object.
const appConfig = await parseConfigFromUrl('https://example.com/conf.json'); Copy
const appConfig = await parseConfigFromUrl('https://example.com/conf.json');
Loads and parses a hierarchical configuration from a remote URL (JSON or TXT). Fetches the resource, parses JSON, and resolves nested entries via URLs, arrays, or custom objects recursively.