New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/targz

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/targz

TypeScript definitions for targz

  • 1.0.5
  • ts5.0
  • ts5.1
  • ts5.2
  • ts5.3
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

/// <reference types="node" />

import * as tar from "tar-fs";
import * as zlib from "zlib";

export interface CompressOptions {
    src: string;
    dest: string;
    tar?: tar.PackOptions | undefined;
    gz?: zlib.ZlibOptions | undefined;
}

export interface DecompressOptions {
    src: string;
    dest: string;
    tar?: tar.ExtractOptions | undefined;
    gz?: zlib.ZlibOptions | undefined;
}

export function compress(
    opts?: CompressOptions,
    callback?: (error?: Error | string | null | undefined) => void,
): void;

export function decompress(
    opts?: DecompressOptions,
    callback?: (error?: Error | string | null | undefined) => void,
): void;

Additional Details

  • Last updated: Wed, 05 Feb 2025 11:02:27 GMT
  • Dependencies: @types/node, @types/tar-fs

Credits

These definitions were written by Alexander Curtis.

FAQs

Package last updated on 05 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc