Skip to main content
Module

x/bb64/mod.ts>Base64#toFileWithMime

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

Writes the base64 string from the Base64 object to a file, including the MIME type when writing to the file.

Parameters

filePath: string

the path to the file that the Base64 contents will be written to