Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/foras/src/deno/mod.ts>deflate

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

Parameters

input: Uint8Array
optional
compression: number

Returns

Uint8Array