Skip to main content

Deno Zip archive Forked from (https://github.com/moncefplastin07/deno-zip) !Compatible with jsr Streaming cross-platform zip tool written for Deno 🦕.

This package works with Deno
This package works with Deno
JSR Score
94%
Published
7 months ago (1.3.1)
function decompress
decompress(
filePath: string,
destinationPath?: string | null,
options?: DecompressOptions,
): Promise<string | false>

Decompresses a zip file.

Parameters

filePath: string
  • The path to the zip file.
optional
destinationPath: string | null
  • The path where the extracted files will be placed. Defaults to "./" if not provided.
optional
options: DecompressOptions
  • Optional decompression options.

Return Type

Promise<string | false>

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

Add Package

deno add jsr:@fakoua/zip-ts

Import symbol

import { decompress } from "@fakoua/zip-ts";

---- OR ----

Import directly with a jsr specifier

import { decompress } from "jsr:@fakoua/zip-ts";