Skip to main content
Module

x/netzo/deno.d.ts>btoa

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
function btoa
import { btoa } from "https://deno.land/x/netzo@v0.1.25/deno.d.ts";

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

console.log(btoa("hello world"));  // outputs "aGVsbG8gd29ybGQ="

Parameters

s: string

Returns

string