Current section
Files
Jump to
Current section
Files
README.md
# regular
[](https://hex.pm/packages/regular)
[](https://regular.hexdocs.pm/)
```sh
gleam add regular@1
```
```gleam
import regular
pub fn main() -> Nil {
// Decompressing Zstd data.
let compressed = <<>>
let decompressed = regular.decompress(compressed)
// Compressing to Zstd.
let decompressed = <<"Wibble Wobble">>
let compressed = regular.compress(decompressed)
}
```
Further documentation can be found at <https://regular.hexdocs.pm/>.