zlib utilities for Gleam
Go to file
LilyRose2798 de4ce10101 Bunp version 2024-06-08 02:35:57 +10:00
.github/workflows Initial commit 2024-06-04 18:35:24 +10:00
src Fix javascript file extension 2024-06-08 02:35:27 +10:00
test Initial commit 2024-06-04 18:35:24 +10:00
.gitignore Initial commit 2024-06-04 18:35:24 +10:00
README.md Initial commit 2024-06-04 18:35:24 +10:00
gleam.toml Bunp version 2024-06-08 02:35:57 +10:00
manifest.toml Initial commit 2024-06-04 18:35:24 +10:00

README.md

gzlib

Package Version Hex Docs

gleam add gzlib
import gzlib

pub fn main() {
  let data = <<1, 2, 3, 4, 5>>
  let compressed_data = gzlib.compress(data)
  let more_compressed_data = gzlib.compress_with_level(data, gzlib.max_compression)
  let crc = gzlib.crc32(data)
}

Further documentation can be found at https://hexdocs.pm/gzlib.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell