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

compressSync

Compresses data with GZIP

function compressSync(data: Uint8Array, opts?: GzipOptions): Uint8Array;
§
compressSync(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