Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zipjs/index.d.ts>ZipFileEntry#getText

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

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.