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

x/deno/cli/js/text_encoding.ts>btoa

A modern runtime for JavaScript and TypeScript.
Go to Latest
function btoa
import { btoa } from "https://deno.land/x/deno@v0.28.0/cli/js/text_encoding.ts";

Creates a base-64 ASCII string from the input string.

Parameters

s: string

Returns

string