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

x/foras/wasm/pkg/foras.d.ts>gzip

WebAssembly port of Rust's flate2, a Rust implementation of Deflate, Gzip, and Zlib compressions
Go to Latest
function gzip
import { gzip } from "https://deno.land/x/foras@2.0.6/wasm/pkg/foras.d.ts";

Parameters

input: Uint8Array
optional
compression: number

Returns

Uint8Array