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

x/compress/mod.ts>tar.compress

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

Compresses a file.

Parameters

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

Returns

Promise<void>