Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

deflateSync

Compresses data with DEFLATE without any wrapper

function deflateSync(data: Uint8Array, opts?: DeflateOptions): Uint8Array;
§
deflateSync(data: Uint8Array, opts?: DeflateOptions): Uint8Array
[src]

§Parameters

§
data: Uint8Array
[src]

The data to compress

§
opts?: DeflateOptions optional
[src]

The compression options

§Return Type

§
Uint8Array
[src]

The deflated version of the data