UNPKG

@naturalcycles/nodejs-lib

Version:
13 lines (12 loc) 512 B
import { TransformLogProgressOptions, TransformMapOptions } from '../..'; export interface NDJSONMapOptions<OUT = any> extends TransformMapOptions<OUT>, TransformLogProgressOptions { inputFilePath: string; outputFilePath: string; mapperFilePath: string; limit?: number; } /** * Unzips input file automatically, if it ends with `.gz`. * Zips output file automatically, if it ends with `.gz`. */ export declare function ndjsonMap<IN = any, OUT = any>(opt: NDJSONMapOptions<OUT>): Promise<void>;