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

x/xdg/vendor/types/deno.d.ts>atob

Determine XDG Base Directory paths (OS/platform portable)
Go to Latest
function atob
import { atob } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";

Decodes a string of data which has been encoded using base-64 encoding.

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

Parameters

s: string

Returns

string