@types/targz
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/targz

Weekly Downloads

4,939

Version

1.0.4

License

MIT

Unpacked Size

3.43 kB

Total Files

5

Last publish

Collaborators

  • types