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

x/compress/zlib/mod.ts>gzip

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

Parameters

input: Uint8Array
optional
options: DeflateOptions = [UNSUPPORTED]

Returns

Uint8Array