Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/xserver/src/deps.ts>base64url.encode

X-Server a Deno server module with middleware
Go to Latest
function base64url.encode
import { base64url } from "https://deno.land/x/xserver@2.2.0/src/deps.ts";
const { encode } = base64url;

Encodes a given ArrayBuffer or string into a base64url representation

Parameters

data: ArrayBuffer | string

Returns

string