Module

x/zipjs/index.js>ZipFileEntry#getData

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

Retrieves the content of the entry via a Writer instance

Parameters

writer:
| Writer<unknown>
| WritableWriter
| WritableStream
| AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream>

The Writer instance.

optional
options: EntryGetDataOptions

The options.

Returns

Promise<unknown>

A promise resolving to data associated to the Writer instance.