Module

x/zipjs/index.js>ZipFileEntry#getData

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

Retrieves the content of the entry via a Writer instance

Parameters

writer:
| Writer<unknown>
| WritableWriter
| 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.