Skip to main content
Module

x/bb64/mod.ts>Base64.fromFile

Easy to use Deno Base64 Encoder and Decoder for JavaScript and TypeScript
Latest
method Base64.fromFile
import { Base64 } from "https://deno.land/x/bb64@1.1.0/mod.ts";

Creates a Base64 object from the contents of a file

Parameters

filePath: string

the path to a file that will be base64 encoded

Returns

a Base64 object