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