LuaRocks.org had a security incident in September 2026. Read the incident report.

compress.zlib

zlib, gzip and raw deflate compression for Lua strings and carrays

$ luarocks install compress.zlib

The module compress.zlib of lua-compress provides deflate compression
and decompression with zlib for Lua strings and carray objects: the
formats zlib (RFC 1950), gzip (RFC 1952) and raw deflate (RFC 1951),
in one call or as a stream, with all parameters of deflateInit2(),
dictionaries, flush modes, zlib's status codes and crc32/adler32.
Carrays are read without copying and can receive the output directly.

Versions

scm-0dev10 hours ago0 downloads
0.0.1-110 hours ago0 downloads

Dependencies

lua >= 5.1

Dependency for

compress, lexiftool

Manifests