UNPKG

file-streamer

Version:

A TypeScript package for streaming data as files (Excel, CSV, JSON, Base64) and streaming files from file system through HTTP responses

3 lines 226 B
import { ContentType, Response } from '../../types'; export declare const pipeFileFromPath: (res: Response, filePath: string, fileName?: string, contentType?: ContentType) => Promise<void>; //# sourceMappingURL=stream.d.ts.map