Module

x/zipjs/index.js>ZipDirectoryEntry#addDirectory

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

Adds a directory

Parameters

name: string

The relative filename of the directory.

optional
options: ZipWriterAddDataOptions

The options.