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

x/cav/deps.ts>base64.encode

A server framework for Deno
Go to Latest
function base64.encode
import { base64 } from "https://deno.land/x/cav@0.2.3/deps.ts";
const { encode } = base64;

Encodes a given ArrayBuffer or string into a base64url representation

Parameters

data: ArrayBuffer | string

Returns

string