zlib
gzip(data, level) -> compressed, err
data
level
compressed
err
Compress data in gzip format (RFC 1952)
Level ranges from 0 (no compression) to 10 (maximum), default 6. Output is compatible with the gzip command-line tool.
gzip