import { encodeBase64Url } from "https://deno.land/std@0.212.0/encoding/base64url.ts";
Convert data into a base64url-encoded string.
Examples
Example 1
Example 1
import { encodeBase64Url } from "https://deno.land/std@0.212.0/encoding/base64url.ts";
encodeBase64Url(new TextEncoder().encode("foobar")); // "Zm9vYmFy"