Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/compress/tgz/mod.ts>uncompress

compress and uncompress for Deno
Latest
function uncompress
import { uncompress } from "https://deno.land/x/compress@v0.5.2/tgz/mod.ts";

Uncompresses a .tgz or .gz file to a specified destination.

Parameters

src: string
  • The source file path.
dest: string
  • The destination directory path.
optional
options: uncompressInterface
  • Optional parameters for uncompression.

Returns

Promise<void>
  • A promise that resolves when the operation is complete.