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

Usage in Deno

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

Compress a chunk of data with BrotliCompress.

Parameters

optional
options: BrotliOptions

Return Type

Buffer
Back to top