@maukode/siesvi
Version:
siesvi is CSV library that use typescript and provide CSV common functions from parsing, validation, to transformation.
13 lines (12 loc) • 457 B
TypeScript
import { Readable } from 'stream';
export declare class FileLoader extends Readable {
private filePath;
private chunkSize;
private fileHandle;
private position;
private fileSize;
constructor(filePath: string, chunkSize?: number);
_construct(callback: (error?: Error | null) => void): Promise<void>;
_read(_: number): Promise<void>;
_destroy(error: Error | null, callback: (error: Error | null) => void): Promise<void>;
}