Module

x/zipjs/index.js>ZipDirectoryEntry#addData64URI

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
Go to Latest
method ZipDirectoryEntry.prototype.addData64URI
import { ZipDirectoryEntry } from "https://dotland.deno.dev/x/zipjs@v2.7.52/index.js";

Adds a entry entry with content provided as a Data URI string encoded in Base64

Parameters

name: string

The relative filename of the entry.

dataURI: string

The Data URI string encoded in Base64.

optional
options: ZipWriterAddDataOptions

The options.

Returns

ZipFileEntry<string, string>

A ZipFileEntry instance.