• Break a URL string into its parts for easy parsing

    Parameters

    • url: string

      URL string that will be parsed

    Returns ParsedUrl

    Parts of URL

    Use built-in URL object: new URL('...');