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

Usage in Deno

import { gzipSync } from "node:zlib";
gzipSync(
buf: InputType,
options?: ZlibOptions,
): Buffer

Compress a chunk of data with Gzip.

Parameters

optional
options: ZlibOptions

Return Type

Buffer
Back to top