Skip to main content
Module

x/zipjs/index.js>ZipDirectoryEntry#addHttpContent

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

Adds an entry with content fetched from a URL

Parameters

name: string

The relative filename of the entry.

url: string

The URL.

The options.

Returns

ZipFileEntry<string, void>

A ZipFileEntry instance.