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

x/compress/gzip/mod.ts>gzipFile

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

Compress a file

Parameters

src: string

Source file path

dest: string

Destination file path

Returns

Promise<void>