Module

x/zipjs/index.js>ZipFileEntry#getText

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

Retrieves the text content of the entry as a string

Parameters

optional
encoding: string

The encoding of the text.

optional
options: EntryGetDataOptions

The options.

Returns

Promise<string>

A promise resolving to a string.