Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/zipjs@v2.6.78/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.