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

x/zipjs/index.js>ZipDirectoryEntry#addData64URI

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

Adds aentry 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.

Returns

ZipFileEntry<string, string>

A ZipFileEntry instance.