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

compress.lzma

xz, lzma and raw LZMA1/LZMA2 compression for Lua strings and carrays

$ luarocks install compress.lzma

The module compress.lzma of lua-compress provides LZMA compression and
decompression with liblzma (XZ Utils) for Lua strings and carray objects:
the formats xz, lzma (legacy .lzma) and raw LZMA1/LZMA2 streams (e.g. of
7z archives, with their coder properties), in one call or as a stream,
with presets, the LZMA options, integrity checks, flush modes, memory
limits and liblzma's status codes. Carrays are read without copying and
can receive the output directly.

Versions

scm-0dev10 hours ago0 downloads
0.0.1-110 hours ago(revision: 2)0 downloads

Dependencies

lua >= 5.1

Dependency for

compress

Manifests