Exgzip May 2026

: It follows standard library guidelines for naming and documentation, ensuring it feels consistent with other packages in the Hex ecosystem . Getting Started

While the underlying Erlang :zlib module is powerful, its API can be low-level and cumbersome for developers accustomed to Elixir's syntax. bridges this gap by providing: EXGzip

: Reduces boilerplate code required to initialize and control zlib streams manually. : It follows standard library guidelines for naming

: Easily compress strings or binaries into Gzip format and decompress Gzip data back into its original form. : Easily compress strings or binaries into Gzip

You can add it to your project by including it in your mix.exs dependencies: defp deps do [ :ex_gzip, "~> 0.1.0" ] end Use code with caution. Copied to clipboard Once installed, you can perform basic operations: : EXGzip.compress("your data") Decompressing : EXGzip.decompress(compressed_binary)

For more advanced use cases like stream processing or custom compression levels, you can refer to the official documentation on HexDocs .