Skip to main content
The Deno 2 Release Candidate is 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.30.0/cli/js/text_encoding.ts";

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

Parameters

s: string

Returns

string