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

x/compress/gzip/gzip_file.ts>gzipFile

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

Compress a file

Parameters

src: string

Source file path

dest: string

Destination file path

Returns

Promise<void>