Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>base64.encode

The best unofficial library of utilities for Deno applications
Go to Latest
variable base64.encode
Deprecated
Deprecated

(will be removed in 0.210.0) Use a encodeBase64 instead.

CREDIT: https://gist.github.com/enepomnyaschih/72c423f727d395eeaa09697058238727 Encodes a given Uint8Array, ArrayBuffer or string into RFC4648 base64 representation

import { base64 } from "https://deno.land/x/dtils@2.5.0/deps.ts";
const { encode } = base64;