UNPKG

r2-utils-js

Version:

Readium 2 'utils' for NodeJS (TypeScript)

6 lines (5 loc) 632 B
/// <reference types="node" /> /// <reference types="node" /> export declare function injectStreamInZip(destPathTMP: string, destPathFINAL: string, stream: NodeJS.ReadableStream, zipEntryPath: string, zipError: (e: any) => void, doneCallback: () => void): void; export declare function injectBufferInZip(destPathTMP: string, destPathFINAL: string, buffer: Buffer, zipEntryPath: string, zipError: (e: any) => void, doneCallback: () => void): void; export declare function injectFileInZip(destPathTMP: string, destPathFINAL: string, filePath: string, zipEntryPath: string, zipError: (e: any) => void, doneCallback: () => void): void;