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, split files and encryption.
Go to Latest
method ZipFileEntry.prototype.getText
import { ZipFileEntry } from "https://deno.land/x/zipjs@v2.7.23/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.