UNPKG

r2-utils-js

Version:

Readium 2 'utils' for NodeJS (TypeScript)

14 lines (13 loc) 462 B
import { IStreamAndLength, IZip, Zip } from "./zip"; export declare class Zip1 extends Zip { readonly filePath: string; readonly zip: any; static loadPromise(filePath: string): Promise<IZip>; private constructor(); freeDestroy(): void; entriesCount(): number; hasEntries(): boolean; hasEntry(entryPath: string): boolean; getEntries(): Promise<string[]>; entryStreamPromise(entryPath: string): Promise<IStreamAndLength>; }