Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.js>ZipDirectoryEntry#addBlob

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

Adds a entry entry with content provided as a Blob instance

Parameters

name: string

The relative filename of the entry.

blob: Blob

The Blob instance.

optional
options: ZipWriterAddDataOptions

The options.