Skip to content

Function: loadProviderRanges()

loadProviderRanges(): Promise<ProviderRanges[]>

Load every provider’s region-tagged range table, each cached for RANGE_CACHE_TTL_MS. Providers are loaded in parallel and a feed that fails to fetch or parse is dropped (logged, not thrown) so a single flaky feed never sinks the whole lookup. Exposed for callers that want to match many IPs against one cached snapshot without a DNS step per address.

Promise<ProviderRanges[]>