Module

x/zipjs/index.js>ZipDirectoryEntry#addReadable

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

Adds aentry entry with content provided via a ReadableStream instance

Parameters

name: string

The relative filename of the entry.

readable: ReadableStream

The ReadableStream instance.

Returns

ZipFileEntry<ReadableStream, void>

A ZipFileEntry instance.