@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01,097ts2.6
1.0.01,097ts2.7
1.0.01,097ts2.8
1.0.01,097ts2.9
1.0.01,097ts3.0
1.0.01,097ts3.1
1.0.01,097ts3.2
1.0.01,097ts3.3
1.0.01,097ts3.4
1.0.01,097ts3.5
1.0.1658ts3.6
1.0.1658ts3.7
1.0.1658ts3.8
1.0.1658ts3.9
1.0.1658ts4.0
1.0.1658ts4.1
1.0.1658ts4.2
1.0.20ts4.3
1.0.20ts4.4
1.0.43,184ts5.7
1.0.43,184ts5.6
1.0.43,184latest
1.0.43,184ts4.5
1.0.43,184ts4.6
1.0.43,184ts4.7
1.0.43,184ts4.8
1.0.43,184ts4.9
1.0.43,184ts5.0
1.0.43,184ts5.1
1.0.43,184ts5.2
1.0.43,184ts5.3
1.0.43,184ts5.4
1.0.43,184ts5.5
1.0.43,184ts5.8

Version History

VersionDownloads (Last 7 Days)Published
1.0.43,184
1.0.30
1.0.20
1.0.1658
1.0.01,097

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