UNPKG

fs-nextra

Version:

Node.js fs next-gen extra (nextra) methods.

10 lines (9 loc) 325 B
/** * Gzips a file * @function gzip * @memberof fsn/nextra * @param fileName The filename of the archive * @param inputFile The filepath of the input file * @param atomic If the gzip file should be created */ export declare function gzip(fileName: string, inputFile: string, atomic?: boolean): Promise<void>;