Package-level declarations
Types
Generic JS-style wrapper for zlib calls. If you don't need streaming behaviour - use more simple functions: deflate, deflateRaw and gzip.
Generic JS-style wrapper for zlib calls. If you don't need streaming behaviour - use more simple functions: inflate and inflateRaw.
Functions
Compress data with deflate algorithm and options.
The same as deflate, but creates raw data, without wrapper (header and adler32 crc).
The same as deflate, but create gzip wrapper instead of deflate one.
Decompress data with inflate/ungzip and options. Autodetect format via wrapper header by default. That's why we don't provide separate ungzip method.
The same as inflate, but creates raw data, without wrapper (header and adler32 crc).
Just shortcut to inflate, because it autodetects format by header.content. Done for convenience.