Skip to main content

zlib

The node:zlib module provides compression functionality implemented using Gzip, Deflate/Inflate, and Brotli.

To access it:

import zlib from 'node:zlib';

Compression and decompression are built around the Node.js Streams API.

Compressing or decompressing a stream (such as a file) can be accomplished by piping the source stream through a zlib Transform stream into a destination stream:

import { createGzip } from 'node:zlib';
import { pipeline } from 'node:stream';
import {
  createReadStream,
  createWriteStream,
} from 'node:fs';

const gzip = createGzip();
const source = createReadStream('input.txt');
const destination = createWriteStream('input.txt.gz');

pipeline(source, gzip, destination, (err) => {
  if (err) {
    console.error('An error occurred:', err);
    process.exitCode = 1;
  }
});

// Or, Promisified

import { promisify } from 'node:util';
const pipe = promisify(pipeline);

async function do_gzip(input, output) {
  const gzip = createGzip();
  const source = createReadStream(input);
  const destination = createWriteStream(output);
  await pipe(source, gzip, destination);
}

do_gzip('input.txt', 'input.txt.gz')
  .catch((err) => {
    console.error('An error occurred:', err);
    process.exitCode = 1;
  });

It is also possible to compress or decompress data in a single step:

import { deflate, unzip } from 'node:zlib';

const input = '.................................';
deflate(input, (err, buffer) => {
  if (err) {
    console.error('An error occurred:', err);
    process.exitCode = 1;
  }
  console.log(buffer.toString('base64'));
});

const buffer = Buffer.from('eJzT0yMAAGTvBe8=', 'base64');
unzip(buffer, (err, buffer) => {
  if (err) {
    console.error('An error occurred:', err);
    process.exitCode = 1;
  }
  console.log(buffer.toString());
});

// Or, Promisified

import { promisify } from 'node:util';
const do_unzip = promisify(unzip);

do_unzip(buffer)
  .then((buf) => console.log(buf.toString()))
  .catch((err) => {
    console.error('An error occurred:', err);
    process.exitCode = 1;
  });

Usage in Deno

import * as mod from "node:zlib";

Functions

f
brotliCompress
No documentation available
    f
    brotliCompressSync

    Compress a chunk of data with BrotliCompress.

      f
      brotliDecompress
      No documentation available
        f
        brotliDecompressSync

        Decompress a chunk of data with BrotliDecompress.

          f
          crc32

          Computes a 32-bit Cyclic Redundancy Check checksum of data. If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.

            f
            createBrotliCompress

            Creates and returns a new BrotliCompress object.

              f
              createBrotliDecompress

              Creates and returns a new BrotliDecompress object.

                f
                createDeflate

                Creates and returns a new Deflate object.

                  f
                  createDeflateRaw

                  Creates and returns a new DeflateRaw object.

                    f
                    createGunzip

                    Creates and returns a new Gunzip object.

                      f
                      createGzip

                      Creates and returns a new Gzip object. See example.

                        f
                        createInflate

                        Creates and returns a new Inflate object.

                          f
                          createInflateRaw

                          Creates and returns a new InflateRaw object.

                            f
                            createUnzip

                            Creates and returns a new Unzip object.

                              f
                              deflate
                              No documentation available
                                f
                                deflateRaw
                                No documentation available
                                  f
                                  deflateRawSync

                                  Compress a chunk of data with DeflateRaw.

                                    f
                                    deflateSync

                                    Compress a chunk of data with Deflate.

                                      f
                                      gunzip
                                      No documentation available
                                        f
                                        gunzipSync

                                        Decompress a chunk of data with Gunzip.

                                          f
                                          gzip
                                          No documentation available
                                            f
                                            gzipSync

                                            Compress a chunk of data with Gzip.

                                              f
                                              inflate
                                              No documentation available
                                                f
                                                inflateRaw
                                                No documentation available
                                                  f
                                                  inflateRawSync

                                                  Decompress a chunk of data with InflateRaw.

                                                    f
                                                    inflateSync

                                                    Decompress a chunk of data with Inflate.

                                                      f
                                                      unzip
                                                      No documentation available
                                                        f
                                                        unzipSync

                                                        Decompress a chunk of data with Unzip.

                                                          Interfaces

                                                          I
                                                          BrotliCompress
                                                          No documentation available
                                                            I
                                                            BrotliDecompress
                                                            No documentation available
                                                              I
                                                              Deflate
                                                              No documentation available
                                                                I
                                                                DeflateRaw
                                                                No documentation available
                                                                  I
                                                                  Gunzip
                                                                  No documentation available
                                                                    I
                                                                    Gzip
                                                                    No documentation available
                                                                      I
                                                                      Inflate
                                                                      No documentation available
                                                                        I
                                                                        InflateRaw
                                                                        No documentation available
                                                                          I
                                                                          Unzip
                                                                          No documentation available
                                                                            I
                                                                            I
                                                                            ZlibParams
                                                                            No documentation available
                                                                            I
                                                                            ZlibReset
                                                                            No documentation available

                                                                            Namespaces

                                                                            N
                                                                            constants
                                                                            No documentation available

                                                                              Type Aliases

                                                                              T
                                                                              CompressCallback
                                                                              No documentation available
                                                                                T
                                                                                InputType
                                                                                No documentation available

                                                                                  Variables

                                                                                  v
                                                                                  constants.BROTLI_DECODE
                                                                                  No documentation available
                                                                                    v
                                                                                    constants.BROTLI_DECODER_NO_ERROR
                                                                                    No documentation available
                                                                                      v
                                                                                      constants.BROTLI_DECODER_RESULT_ERROR
                                                                                      No documentation available
                                                                                        v
                                                                                        constants.BROTLI_DECODER_RESULT_SUCCESS
                                                                                        No documentation available
                                                                                          v
                                                                                          constants.BROTLI_DECODER_SUCCESS
                                                                                          No documentation available
                                                                                            v
                                                                                            constants.BROTLI_DEFAULT_MODE
                                                                                            No documentation available
                                                                                              v
                                                                                              constants.BROTLI_DEFAULT_QUALITY
                                                                                              No documentation available
                                                                                                v
                                                                                                constants.BROTLI_DEFAULT_WINDOW
                                                                                                No documentation available
                                                                                                  v
                                                                                                  constants.BROTLI_ENCODE
                                                                                                  No documentation available
                                                                                                    v
                                                                                                    constants.BROTLI_LARGE_MAX_WINDOW_BITS
                                                                                                    No documentation available
                                                                                                      v
                                                                                                      constants.BROTLI_MAX_INPUT_BLOCK_BITS
                                                                                                      No documentation available
                                                                                                        v
                                                                                                        constants.BROTLI_MAX_QUALITY
                                                                                                        No documentation available
                                                                                                          v
                                                                                                          constants.BROTLI_MAX_WINDOW_BITS
                                                                                                          No documentation available
                                                                                                            v
                                                                                                            constants.BROTLI_MIN_INPUT_BLOCK_BITS
                                                                                                            No documentation available
                                                                                                              v
                                                                                                              constants.BROTLI_MIN_QUALITY
                                                                                                              No documentation available
                                                                                                                v
                                                                                                                constants.BROTLI_MIN_WINDOW_BITS
                                                                                                                No documentation available
                                                                                                                  v
                                                                                                                  constants.BROTLI_MODE_FONT
                                                                                                                  No documentation available
                                                                                                                    v
                                                                                                                    constants.BROTLI_MODE_GENERIC
                                                                                                                    No documentation available
                                                                                                                      v
                                                                                                                      constants.BROTLI_MODE_TEXT
                                                                                                                      No documentation available
                                                                                                                        v
                                                                                                                        v
                                                                                                                        constants.BROTLI_OPERATION_FINISH
                                                                                                                        No documentation available
                                                                                                                          v
                                                                                                                          constants.BROTLI_OPERATION_FLUSH
                                                                                                                          No documentation available
                                                                                                                            v
                                                                                                                            constants.BROTLI_OPERATION_PROCESS
                                                                                                                            No documentation available
                                                                                                                              v
                                                                                                                              constants.BROTLI_PARAM_LARGE_WINDOW
                                                                                                                              No documentation available
                                                                                                                                v
                                                                                                                                constants.BROTLI_PARAM_LGBLOCK
                                                                                                                                No documentation available
                                                                                                                                  v
                                                                                                                                  constants.BROTLI_PARAM_LGWIN
                                                                                                                                  No documentation available
                                                                                                                                    v
                                                                                                                                    constants.BROTLI_PARAM_MODE
                                                                                                                                    No documentation available
                                                                                                                                      v
                                                                                                                                      constants.BROTLI_PARAM_NDIRECT
                                                                                                                                      No documentation available
                                                                                                                                        v
                                                                                                                                        constants.BROTLI_PARAM_NPOSTFIX
                                                                                                                                        No documentation available
                                                                                                                                          v
                                                                                                                                          constants.BROTLI_PARAM_QUALITY
                                                                                                                                          No documentation available
                                                                                                                                            v
                                                                                                                                            constants.BROTLI_PARAM_SIZE_HINT
                                                                                                                                            No documentation available
                                                                                                                                              v
                                                                                                                                              constants.DEFLATE
                                                                                                                                              No documentation available
                                                                                                                                                v
                                                                                                                                                constants.DEFLATERAW
                                                                                                                                                No documentation available
                                                                                                                                                  v
                                                                                                                                                  constants.GUNZIP
                                                                                                                                                  No documentation available
                                                                                                                                                    v
                                                                                                                                                    constants.GZIP
                                                                                                                                                    No documentation available
                                                                                                                                                      v
                                                                                                                                                      constants.INFLATE
                                                                                                                                                      No documentation available
                                                                                                                                                        v
                                                                                                                                                        constants.INFLATERAW
                                                                                                                                                        No documentation available
                                                                                                                                                          v
                                                                                                                                                          constants.UNZIP
                                                                                                                                                          No documentation available
                                                                                                                                                            v
                                                                                                                                                            constants.Z_BEST_COMPRESSION
                                                                                                                                                            No documentation available
                                                                                                                                                              v
                                                                                                                                                              constants.Z_BEST_SPEED
                                                                                                                                                              No documentation available
                                                                                                                                                                v
                                                                                                                                                                constants.Z_BLOCK
                                                                                                                                                                No documentation available
                                                                                                                                                                  v
                                                                                                                                                                  constants.Z_BUF_ERROR
                                                                                                                                                                  No documentation available
                                                                                                                                                                    v
                                                                                                                                                                    constants.Z_DATA_ERROR
                                                                                                                                                                    No documentation available
                                                                                                                                                                      v
                                                                                                                                                                      constants.Z_DEFAULT_CHUNK
                                                                                                                                                                      No documentation available
                                                                                                                                                                        v
                                                                                                                                                                        constants.Z_DEFAULT_COMPRESSION
                                                                                                                                                                        No documentation available
                                                                                                                                                                          v
                                                                                                                                                                          constants.Z_DEFAULT_LEVEL
                                                                                                                                                                          No documentation available
                                                                                                                                                                            v
                                                                                                                                                                            constants.Z_DEFAULT_MEMLEVEL
                                                                                                                                                                            No documentation available
                                                                                                                                                                              v
                                                                                                                                                                              constants.Z_DEFAULT_STRATEGY
                                                                                                                                                                              No documentation available
                                                                                                                                                                                v
                                                                                                                                                                                constants.Z_DEFAULT_WINDOWBITS
                                                                                                                                                                                No documentation available
                                                                                                                                                                                  v
                                                                                                                                                                                  constants.Z_ERRNO
                                                                                                                                                                                  No documentation available
                                                                                                                                                                                    v
                                                                                                                                                                                    constants.Z_FILTERED
                                                                                                                                                                                    No documentation available
                                                                                                                                                                                      v
                                                                                                                                                                                      constants.Z_FINISH
                                                                                                                                                                                      No documentation available
                                                                                                                                                                                        v
                                                                                                                                                                                        constants.Z_FIXED
                                                                                                                                                                                        No documentation available
                                                                                                                                                                                          v
                                                                                                                                                                                          constants.Z_FULL_FLUSH
                                                                                                                                                                                          No documentation available
                                                                                                                                                                                            v
                                                                                                                                                                                            constants.Z_HUFFMAN_ONLY
                                                                                                                                                                                            No documentation available
                                                                                                                                                                                              v
                                                                                                                                                                                              constants.Z_MAX_CHUNK
                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                v
                                                                                                                                                                                                constants.Z_MAX_LEVEL
                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                  v
                                                                                                                                                                                                  constants.Z_MAX_MEMLEVEL
                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                    v
                                                                                                                                                                                                    constants.Z_MAX_WINDOWBITS
                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                      v
                                                                                                                                                                                                      constants.Z_MEM_ERROR
                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                        v
                                                                                                                                                                                                        constants.Z_MIN_CHUNK
                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                          v
                                                                                                                                                                                                          constants.Z_MIN_LEVEL
                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                            v
                                                                                                                                                                                                            constants.Z_MIN_MEMLEVEL
                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                              v
                                                                                                                                                                                                              constants.Z_MIN_WINDOWBITS
                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                v
                                                                                                                                                                                                                constants.Z_NEED_DICT
                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                  v
                                                                                                                                                                                                                  constants.Z_NO_COMPRESSION
                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                    v
                                                                                                                                                                                                                    constants.Z_NO_FLUSH
                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                      v
                                                                                                                                                                                                                      constants.Z_OK
                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                        v
                                                                                                                                                                                                                        constants.Z_PARTIAL_FLUSH
                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                          v
                                                                                                                                                                                                                          constants.Z_RLE
                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                            v
                                                                                                                                                                                                                            constants.Z_STREAM_END
                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                              v
                                                                                                                                                                                                                              constants.Z_STREAM_ERROR
                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                constants.Z_SYNC_FLUSH
                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                  constants.Z_TREES
                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                    constants.Z_VERSION_ERROR
                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                      constants.ZLIB_VERNUM
                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                        Z_ASCII
                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                          Z_BEST_COMPRESSION
                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                            Z_BEST_SPEED
                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                              Z_BINARY
                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                Z_BLOCK
                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                  Z_BUF_ERROR
                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                    Z_DATA_ERROR
                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                      Z_DEFAULT_COMPRESSION
                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                        Z_DEFAULT_STRATEGY
                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                          Z_DEFLATED
                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                            Z_ERRNO
                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                              Z_FILTERED
                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                Z_FINISH
                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                  Z_FIXED
                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                    Z_FULL_FLUSH
                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                      Z_HUFFMAN_ONLY
                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                        Z_MEM_ERROR
                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                          Z_NEED_DICT
                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                            Z_NO_COMPRESSION
                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                              Z_NO_FLUSH
                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                Z_OK
                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                  Z_PARTIAL_FLUSH
                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                    Z_RLE
                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                      Z_STREAM_END
                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                        Z_STREAM_ERROR
                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                          Z_SYNC_FLUSH
                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                            Z_TEXT
                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                              Z_TREES
                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                Z_UNKNOWN
                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                  Z_VERSION_ERROR
                                                                                                                                                                                                                                                                                                  No documentation available





                                                                                                                                                                                                                                                                                                    function crc32

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { crc32 } from "node:zlib";
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    #crc32(
                                                                                                                                                                                                                                                                                                    data:
                                                                                                                                                                                                                                                                                                    string
                                                                                                                                                                                                                                                                                                    | Buffer
                                                                                                                                                                                                                                                                                                    | ArrayBufferView
                                                                                                                                                                                                                                                                                                    ,
                                                                                                                                                                                                                                                                                                    value?: number,
                                                                                                                                                                                                                                                                                                    ): number

                                                                                                                                                                                                                                                                                                    Computes a 32-bit Cyclic Redundancy Check checksum of data. If value is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.

                                                                                                                                                                                                                                                                                                    Parameters #

                                                                                                                                                                                                                                                                                                    #data:
                                                                                                                                                                                                                                                                                                    string
                                                                                                                                                                                                                                                                                                    | Buffer
                                                                                                                                                                                                                                                                                                    | ArrayBufferView

                                                                                                                                                                                                                                                                                                    When data is a string, it will be encoded as UTF-8 before being used for computation.

                                                                                                                                                                                                                                                                                                    #value: number
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    An optional starting value. It must be a 32-bit unsigned integer. @default 0

                                                                                                                                                                                                                                                                                                    Return Type #

                                                                                                                                                                                                                                                                                                    number

                                                                                                                                                                                                                                                                                                    A 32-bit unsigned integer containing the checksum.





                                                                                                                                                                                                                                                                                                    function createDeflateRaw

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { createDeflateRaw } from "node:zlib";
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    #createDeflateRaw(options?: ZlibOptions): DeflateRaw

                                                                                                                                                                                                                                                                                                    Creates and returns a new DeflateRaw object.

                                                                                                                                                                                                                                                                                                    An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when windowBits is set to 8 for raw deflate streams. zlib would automatically set windowBits to 9 if was initially set to 8. Newer versions of zlib will throw an exception, so Node.js restored the original behavior of upgrading a value of 8 to 9, since passing windowBits = 9 to zlib actually results in a compressed stream that effectively uses an 8-bit window only.

                                                                                                                                                                                                                                                                                                    Parameters #

                                                                                                                                                                                                                                                                                                    #options: ZlibOptions
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    Return Type #



                                                                                                                                                                                                                                                                                                    function createGzip

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { createGzip } from "node:zlib";
                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                    #createGzip(options?: ZlibOptions): Gzip

                                                                                                                                                                                                                                                                                                    Creates and returns a new Gzip object. See example.

                                                                                                                                                                                                                                                                                                    Parameters #

                                                                                                                                                                                                                                                                                                    #options: ZlibOptions
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    Return Type #



















                                                                                                                                                                                                                                                                                                    interface BrotliCompress

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type BrotliCompress } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Deno compatibility

                                                                                                                                                                                                                                                                                                    This class is not supported.


                                                                                                                                                                                                                                                                                                    interface BrotliDecompress

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type BrotliDecompress } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Deno compatibility

                                                                                                                                                                                                                                                                                                    This class is not supported.


                                                                                                                                                                                                                                                                                                    interface BrotliOptions

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type BrotliOptions } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Deno compatibility

                                                                                                                                                                                                                                                                                                    This class is not supported.

                                                                                                                                                                                                                                                                                                    Properties #

                                                                                                                                                                                                                                                                                                    #flush: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #finishFlush: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #chunkSize: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #params: { [key: number]: boolean | number; } | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #maxOutputLength: number | undefined
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    Limits output size when using convenience methods.




                                                                                                                                                                                                                                                                                                    interface Gunzip

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type Gunzip } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    interface Gzip

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type Gzip } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    interface Inflate

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]ZlibZlibReset,

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type Inflate } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    interface InflateRaw

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]ZlibZlibReset,

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type InflateRaw } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    interface Unzip

                                                                                                                                                                                                                                                                                                    extends [stream.Transform]Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type Unzip } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    interface Zlib

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type Zlib } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Properties #

                                                                                                                                                                                                                                                                                                    #bytesRead: number
                                                                                                                                                                                                                                                                                                    deprecated
                                                                                                                                                                                                                                                                                                    readonly
                                                                                                                                                                                                                                                                                                    #bytesWritten: number
                                                                                                                                                                                                                                                                                                    readonly
                                                                                                                                                                                                                                                                                                    #shell:
                                                                                                                                                                                                                                                                                                    boolean
                                                                                                                                                                                                                                                                                                    | string
                                                                                                                                                                                                                                                                                                    | undefined
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    Methods #

                                                                                                                                                                                                                                                                                                    #close(callback?: () => void): void
                                                                                                                                                                                                                                                                                                    #flush(
                                                                                                                                                                                                                                                                                                    kind?: number,
                                                                                                                                                                                                                                                                                                    callback?: () => void,
                                                                                                                                                                                                                                                                                                    ): void
                                                                                                                                                                                                                                                                                                    #flush(callback?: () => void): void

                                                                                                                                                                                                                                                                                                    interface ZlibOptions

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type ZlibOptions } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Properties #

                                                                                                                                                                                                                                                                                                    #flush: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #finishFlush: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #chunkSize: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #windowBits: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #level: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #memLevel: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #strategy: number | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #dictionary:
                                                                                                                                                                                                                                                                                                    ArrayBufferView
                                                                                                                                                                                                                                                                                                    | ArrayBuffer
                                                                                                                                                                                                                                                                                                    | undefined
                                                                                                                                                                                                                                                                                                    optional
                                                                                                                                                                                                                                                                                                    #info: boolean | undefined
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    If true, returns an object with buffer and engine.

                                                                                                                                                                                                                                                                                                    #maxOutputLength: number | undefined
                                                                                                                                                                                                                                                                                                    optional

                                                                                                                                                                                                                                                                                                    Limits output size when using convenience methods.


                                                                                                                                                                                                                                                                                                    interface ZlibParams

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type ZlibParams } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Methods #

                                                                                                                                                                                                                                                                                                    #params(
                                                                                                                                                                                                                                                                                                    level: number,
                                                                                                                                                                                                                                                                                                    strategy: number,
                                                                                                                                                                                                                                                                                                    callback: () => void,
                                                                                                                                                                                                                                                                                                    ): void

                                                                                                                                                                                                                                                                                                    interface ZlibReset

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { type ZlibReset } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Methods #

                                                                                                                                                                                                                                                                                                    #reset(): void

                                                                                                                                                                                                                                                                                                    namespace constants

                                                                                                                                                                                                                                                                                                    Usage in Deno

                                                                                                                                                                                                                                                                                                    import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                    Variables #

                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                    constants.BROTLI_DECODE
                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                      constants.BROTLI_DECODER_NO_ERROR
                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                        constants.BROTLI_DECODER_RESULT_ERROR
                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                          constants.BROTLI_DECODER_RESULT_SUCCESS
                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                            constants.BROTLI_DECODER_SUCCESS
                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                              constants.BROTLI_DEFAULT_MODE
                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                constants.BROTLI_DEFAULT_QUALITY
                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                  constants.BROTLI_DEFAULT_WINDOW
                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                    constants.BROTLI_ENCODE
                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                      constants.BROTLI_LARGE_MAX_WINDOW_BITS
                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                        constants.BROTLI_MAX_INPUT_BLOCK_BITS
                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                          constants.BROTLI_MAX_QUALITY
                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                            constants.BROTLI_MAX_WINDOW_BITS
                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                              constants.BROTLI_MIN_INPUT_BLOCK_BITS
                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                constants.BROTLI_MIN_QUALITY
                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                  constants.BROTLI_MIN_WINDOW_BITS
                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                    constants.BROTLI_MODE_FONT
                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                      constants.BROTLI_MODE_GENERIC
                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                        constants.BROTLI_MODE_TEXT
                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                          constants.BROTLI_OPERATION_FINISH
                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                            constants.BROTLI_OPERATION_FLUSH
                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                              constants.BROTLI_OPERATION_PROCESS
                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                constants.BROTLI_PARAM_LARGE_WINDOW
                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                  constants.BROTLI_PARAM_LGBLOCK
                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                    constants.BROTLI_PARAM_LGWIN
                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                      constants.BROTLI_PARAM_MODE
                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                        constants.BROTLI_PARAM_NDIRECT
                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                          constants.BROTLI_PARAM_NPOSTFIX
                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                            constants.BROTLI_PARAM_QUALITY
                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                              constants.BROTLI_PARAM_SIZE_HINT
                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                constants.DEFLATE
                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                  constants.DEFLATERAW
                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                    constants.GUNZIP
                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                      constants.GZIP
                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                        constants.INFLATE
                                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                                          constants.INFLATERAW
                                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                                            constants.UNZIP
                                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                                              constants.Z_BEST_COMPRESSION
                                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                                constants.Z_BEST_SPEED
                                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                                  constants.Z_BLOCK
                                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                                    constants.Z_BUF_ERROR
                                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                                      constants.Z_DATA_ERROR
                                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                                        constants.Z_DEFAULT_CHUNK
                                                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                                                          constants.Z_DEFAULT_COMPRESSION
                                                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                                                            constants.Z_DEFAULT_LEVEL
                                                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                                                              constants.Z_DEFAULT_MEMLEVEL
                                                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                                                constants.Z_DEFAULT_STRATEGY
                                                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                                                  constants.Z_DEFAULT_WINDOWBITS
                                                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                                                    constants.Z_ERRNO
                                                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                                                      constants.Z_FILTERED
                                                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                                                        constants.Z_FINISH
                                                                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                                                                          constants.Z_FIXED
                                                                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                                                                            constants.Z_FULL_FLUSH
                                                                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                                                                              constants.Z_HUFFMAN_ONLY
                                                                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                                                                constants.Z_MAX_CHUNK
                                                                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                                                                  constants.Z_MAX_LEVEL
                                                                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                                                                    constants.Z_MAX_MEMLEVEL
                                                                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                                                                      constants.Z_MAX_WINDOWBITS
                                                                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                                                                        constants.Z_MEM_ERROR
                                                                                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                                                                                          constants.Z_MIN_CHUNK
                                                                                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                                                                                            constants.Z_MIN_LEVEL
                                                                                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                                                                                              constants.Z_MIN_MEMLEVEL
                                                                                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                                                                                constants.Z_MIN_WINDOWBITS
                                                                                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                                                                                  constants.Z_NEED_DICT
                                                                                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                                                                                    constants.Z_NO_COMPRESSION
                                                                                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                                                                                      constants.Z_NO_FLUSH
                                                                                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                                                                                        constants.Z_OK
                                                                                                                                                                                                                                                                                                                                                                                                                                        No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                          v
                                                                                                                                                                                                                                                                                                                                                                                                                                          constants.Z_PARTIAL_FLUSH
                                                                                                                                                                                                                                                                                                                                                                                                                                          No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                            v
                                                                                                                                                                                                                                                                                                                                                                                                                                            constants.Z_RLE
                                                                                                                                                                                                                                                                                                                                                                                                                                            No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                              v
                                                                                                                                                                                                                                                                                                                                                                                                                                              constants.Z_STREAM_END
                                                                                                                                                                                                                                                                                                                                                                                                                                              No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                                v
                                                                                                                                                                                                                                                                                                                                                                                                                                                constants.Z_STREAM_ERROR
                                                                                                                                                                                                                                                                                                                                                                                                                                                No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                                  v
                                                                                                                                                                                                                                                                                                                                                                                                                                                  constants.Z_SYNC_FLUSH
                                                                                                                                                                                                                                                                                                                                                                                                                                                  No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                                    v
                                                                                                                                                                                                                                                                                                                                                                                                                                                    constants.Z_TREES
                                                                                                                                                                                                                                                                                                                                                                                                                                                    No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                                      v
                                                                                                                                                                                                                                                                                                                                                                                                                                                      constants.Z_VERSION_ERROR
                                                                                                                                                                                                                                                                                                                                                                                                                                                      No documentation available
                                                                                                                                                                                                                                                                                                                                                                                                                                                        v
                                                                                                                                                                                                                                                                                                                                                                                                                                                        constants.ZLIB_VERNUM
                                                                                                                                                                                                                                                                                                                                                                                                                                                        No documentation available

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type alias CompressCallback

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { type CompressCallback } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Definition #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          (
                                                                                                                                                                                                                                                                                                                                                                                                                                                          error: Error | null,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          result: Buffer,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          ) => void

                                                                                                                                                                                                                                                                                                                                                                                                                                                          type alias InputType

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { type InputType } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Definition #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          string
                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ArrayBuffer
                                                                                                                                                                                                                                                                                                                                                                                                                                                          | ArrayBufferView
































































                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.DEFLATE

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number


                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.GUNZIP

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.GZIP

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.INFLATE

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number


                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.UNZIP

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number



                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_BLOCK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number









                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_ERRNO

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number



                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_FIXED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number















                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_OK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number


                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_RLE

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number




                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable constants.Z_TREES

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { constants } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number



                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_ASCII

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_ASCII } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_BEST_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_BEST_COMPRESSION } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_BEST_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_BEST_SPEED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_BEST_SPEED } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_BEST_SPEED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_BINARY

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_BINARY } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_BLOCK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_BLOCK } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_BLOCK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_BUF_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_BUF_ERROR } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_BUF_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_DATA_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_DATA_ERROR } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_DATA_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_DEFAULT_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_DEFAULT_COMPRESSION } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_DEFAULT_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_DEFAULT_STRATEGY

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_DEFAULT_STRATEGY } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_DEFAULT_STRATEGY

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_DEFLATED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_DEFLATED } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_ERRNO

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_ERRNO } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_ERRNO

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_FILTERED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_FILTERED } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_FILTERED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_FINISH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_FINISH } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_FINISH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_FIXED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_FIXED } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_FIXED

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_FULL_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_FULL_FLUSH } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_FULL_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_HUFFMAN_ONLY

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_HUFFMAN_ONLY } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_HUFFMAN_ONLY

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_MEM_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_MEM_ERROR } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_MEM_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_NEED_DICT

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_NEED_DICT } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_NEED_DICT

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_NO_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_NO_COMPRESSION } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_NO_COMPRESSION

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_NO_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_NO_FLUSH } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_NO_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_OK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_OK } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_OK

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_PARTIAL_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_PARTIAL_FLUSH } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_PARTIAL_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_RLE

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_RLE } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_RLE

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_STREAM_END

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_STREAM_END } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_STREAM_END

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_STREAM_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_STREAM_ERROR } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_STREAM_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_SYNC_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_SYNC_FLUSH } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_SYNC_FLUSH

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_TEXT

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_TEXT } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_TREES

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_TREES } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_TREES

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_UNKNOWN

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_UNKNOWN } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          variable Z_VERSION_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage in Deno

                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { Z_VERSION_ERROR } from "node:zlib";
                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Deprecated

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Use constants.Z_VERSION_ERROR

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type #

                                                                                                                                                                                                                                                                                                                                                                                                                                                          number

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Did you find what you needed?

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Privacy policy