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

x/deno/cli/js/lib.deno_runtime.d.ts>__textEncoding.btoa

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

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

Parameters

s: string

Returns

string