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

x/compress/tar/mod.ts>compress

compress and uncompress for Deno
Go to Latest
function compress
import { compress } from "https://deno.land/x/compress@v0.4.8/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>