Skip to main content
Version: 3.12

parseSitemap

Callable

  • parseSitemap<T>(initialSources: SitemapSource[], proxyUrl?: string, options?: T): AsyncIterable<T[emitNestedSitemaps] extends true ? SitemapUrl | NestedSitemap : SitemapUrl>

  • Type parameters

    Parameters

    • initialSources: SitemapSource[]
    • optionalproxyUrl: string
    • optionaloptions: T

    Returns AsyncIterable<T[emitNestedSitemaps] extends true ? SitemapUrl | NestedSitemap : SitemapUrl>