Module

x/zipjs/index.js>ZipDirectoryEntry#addFileSystemEntry

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

Adds an entry with content provided via a FileSystemEntry instance

Parameters

fileSystemEntry: FileSystemEntryLike

The FileSystemEntry instance.

optional
options: ZipWriterAddDataOptions

The options.

Returns

Promise<ZipEntry[]>

A promise resolving to an array of ZipFileEntry or a ZipDirectoryEntry instances.