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

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

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

Adds a directory

Parameters

name: string

The relative filename of the directory