Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/zipjs/index.d.ts>ZipDirectoryEntry#addFileSystemEntry

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

Adds an entry with content provided via a FileSystemEntry instance

Parameters

fileSystemEntry: FileSystemEntry

The FileSystemEntry instance.

Returns

Promise<ZipEntry>

A promise resolving to a ZipFileEntry or a ZipDirectoryEntry instance.