Lets
BROTLI_DECODE: cint
BROTLI_DECODER_NO_ERROR: cint
BROTLI_DECODER_SUCCESS: cint
BROTLI_DEFAULT_MODE: cint
BROTLI_DEFAULT_QUALITY: cint
BROTLI_DEFAULT_WINDOW: cint
BROTLI_ENCODE: cint
BROTLI_MAX_QUALITY: cint
BROTLI_MAX_WINDOW_BITS: cint
BROTLI_MIN_QUALITY: cint
BROTLI_MIN_WINDOW_BITS: cint
BROTLI_MODE_FONT: cint
BROTLI_MODE_GENERIC: cint
BROTLI_MODE_TEXT: cint
BROTLI_OPERATION_FINISH: cint
BROTLI_OPERATION_FLUSH: cint
BROTLI_OPERATION_PROCESS: cint
BROTLI_PARAM_LGBLOCK: cint
BROTLI_PARAM_LGWIN: cint
BROTLI_PARAM_MODE: cint
BROTLI_PARAM_NDIRECT: cint
BROTLI_PARAM_NPOSTFIX: cint
BROTLI_PARAM_QUALITY: cint
BROTLI_PARAM_SIZE_HINT: cint
DEFLATE: cint
DEFLATERAW: cint
GUNZIP: cint
GZIP: cint
INFLATE: cint
INFLATERAW: cint
UNZIP: cint
Z_BEST_COMPRESSION: cint
Z_BEST_SPEED: cint
Z_BLOCK: cint
Z_BUF_ERROR: cint
Z_DATA_ERROR: cint
Z_DEFAULT_CHUNK: cint
Z_DEFAULT_COMPRESSION: cint
Z_DEFAULT_LEVEL: cint
Z_DEFAULT_MEMLEVEL: cint
Z_DEFAULT_STRATEGY: cint
Z_DEFAULT_WINDOWBITS: cint
Z_ERRNO: cint
Z_FILTERED: cint
Z_FINISH: cint
Z_FIXED: cint
Z_FULL_FLUSH: cint
Z_HUFFMAN_ONLY: cint
Z_MAX_CHUNK: cint
Z_MAX_LEVEL: cint
Z_MAX_MEMLEVEL: cint
Z_MAX_WINDOWBITS: cint
Z_MEM_ERROR: cint
Z_MIN_CHUNK: cint
Z_MIN_LEVEL: cint
Z_MIN_MEMLEVEL: cint
Z_MIN_WINDOWBITS: cint
Z_NEED_DICT: cint
Z_NO_COMPRESSION: cint
Z_NO_FLUSH: cint
Z_OK: cint
Z_PARTIAL_FLUSH: cint
Z_RLE: cint
Z_STREAM_END: cint
Z_STREAM_ERROR: cint
Z_SYNC_FLUSH: cint
Z_VERSION_ERROR: cint
ZLIB_VERNUM: cint
Procs
func brotliCompress[T](buffer: cstring; callback: T) {. importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_brotlicompress_buffer_options_callback
func brotliDecompress[T](buffer: cstring; callback: T) {. importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_brotlidecompress_buffer_options_callback
func deflate[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_deflate_buffer_options_callback
func deflateRaw[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_deflateraw_buffer_options_callback
func gunzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_gunzip_buffer_options_callback
func gzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_gzip_buffer_options_callback
func importZlib() {.importjs: "import * as zlib from \'zlib\'@", ...raises: [], tags: [].}
- Alias for import * as module_name from 'module_name';. Must be called once before using the module
func inflate[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_inflate_buffer_options_callback
func inflateRaw[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_inflateraw_buffer_options_callback
func requireZlib() {.importjs: "const zlib = require(\'zlib\')@", ...raises: [], tags: [].}
- Alias for const module_name = require('module_name');. Must be called once before using the module
func unzip[T](buffer: cstring; callback: T) {.importjs: "zlib.$1(#, #)", ...raises: [], tags: [].}
- https://nodejs.org/api/zlib.html#zlib_zlib_unzip_buffer_options_callback