Function normalize

  • Normalizes an array of URLs by removing duplicates and applying a normalization function to each URL. Any URLs that fail to normalize will be ignored.

    Parameters

    • urls: string[]

      An array of URLs to be normalized.

    Returns string[]

    An array of normalized URLs without duplicates.

Generated using TypeDoc