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

x/compress/mod.ts>deflateRaw

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

Compresses the input data using raw deflate algorithm.

Parameters

input: Uint8Array
  • The data to compress.
optional
options: DeflateOptions = [UNSUPPORTED]
  • Options for the deflate operation.

Returns

Uint8Array

The compressed data as a Uint8Array.