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

x/compress/tar/mod.ts>compress

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

Compresses a file.

Parameters

src: string
  • Source file path.
dest: string
  • Destination file path.
optional
options: compressInterface
  • Optional parameters.

Returns

Promise<void>