Library API
    Preparing search index...

    Function toBase64Url

    • Encodes a UTF-8 text string into a URL-safe Base64URL string.

      Parameters

      • str: string

        The text string to encode

      Returns string

      The Base64URL string representation

      const str = toBase64Url('Hello World');