Installation
npm install --save @types/targz
Summary
This package contains type definitions for targz (https://github.com/miskun/targz#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/targz.
index.d.ts
import * as tar from "tar-fs";
import * as zlib from "zlib";
export interface options {
src: string;
dest: string;
tar?: tar.ExtractOptions | undefined;
gz?: zlib.ZlibOptions | undefined;
}
export function compress(opts?: options, callback?: (error: Error | string | null) => void): void;
export function decompress(opts?: options, callback?: (error: Error | string | null) => void): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/tar-fs
Credits
These definitions were written by Alexander Curtis.