igcv3 - v1.1.0
    Preparing search index...

    Function parseHostname

    • Parse hostname from URL string (handles both bare hostnames and full URLs).

      Parameters

      • urlInput: string

        A bare hostname or full URL

      Returns string

      The extracted hostname

      If input is empty, invalid, or uses unsupported protocol