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

x/compress/zip/uncompress.ts>uncompress

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

Uncompresses a zip file.

Parameters

src: string
  • The path to the zip file.
optional
dest: string = [UNSUPPORTED]
  • The path where the extracted files will be placed. Defaults to "./" if not provided.
optional
options: uncompressInterface
  • Optional uncompression options.

Returns

Promise<string | false>

A promise that resolves to the path of the extracted files, or false if the uncompression process failed.