Skip to main content
Module

x/cliffy/ansi_escape/deps.ts>encodeBase64

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function encodeBase64
import { encodeBase64 } from "https://deno.land/x/cliffy@v0.14.3/ansi_escape/deps.ts";

Converts given data with base64 encoding

Parameters

data: string | ArrayBuffer

input to encode

Returns

string