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

gzipSync

Compresses data with GZIP

function gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array;
§
gzipSync(data: Uint8Array, opts?: GzipOptions): Uint8Array
[src]

§Parameters

§
data: Uint8Array
[src]

The data to compress

§
opts?: GzipOptions optional
[src]

The compression options

§Return Type

§
Uint8Array
[src]

The gzipped version of the data