• Parse a url into a URL object.

    Parameters

    • url: string

      The URL string to parse.

    Returns IUrl

    A URL object.