s-private API Documentation - v3.8.1
    Preparing search index...
    • Creates a validated Url from a string.

      Parameters

      • v: string

        The raw URL string

      Returns string & $brand<"Url">

      A branded Url value

      When URL is invalid or not HTTP/HTTPS

      const url = makeUrl("https://example.com/article");