r2-utils-js
Version:
Readium 2 'utils' for NodeJS (TypeScript)
13 lines (12 loc) • 444 B
TypeScript
import { IStreamAndLength, IZip, Zip } from "./zip";
export declare class ZipExploded extends Zip {
readonly dirPath: string;
static loadPromise(dirPath: string): Promise<IZip>;
private constructor();
freeDestroy(): void;
entriesCount(): number;
hasEntries(): boolean;
hasEntry(entryPath: string): boolean;
getEntries(): Promise<string[]>;
entryStreamPromise(entryPath: string): Promise<IStreamAndLength>;
}