Exgzip -
is an Elixir library that provides a simple wrapper around the standard Erlang :zlib module to handle Gzip compression and decompression. It is designed to offer a more "Elixir-native" interface for working with Gzip data, making it easier to integrate into modern Elixir projects. Key Features
: Reduces boilerplate code required to initialize and control zlib streams manually. EXGzip
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) is an Elixir library that provides a simple
For more advanced use cases like stream processing or custom compression levels, you can refer to the official documentation on HexDocs . You can add it to your project by including it in your mix
: Designed to work seamlessly with Elixir's pipe operator ( |> ), allowing for clean and readable data processing pipelines.
: Easily compress strings or binaries into Gzip format and decompress Gzip data back into its original form.
: Often used to handle large data streams, preventing memory issues by processing data in chunks rather than loading entire files into memory at once. Why Use EXGzip?