Skip to main content
Version: 3.11

parseSitemap

Callable

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

  • Type parameters

    • T: ParseSitemapOptions

    Parameters

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

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