Skip to main content
gzip - zlib - Node documentation
function gzip

Usage in Deno

import { gzip } from "node:zlib";
gzip(
buf: InputType,
callback: CompressCallback,
): void

Parameters

Return Type

void
gzip(
buf: InputType,
options: ZlibOptions,
callback: CompressCallback,
): void

Parameters

Return Type

void