brotli
Nim Brotli wrapper
Wraps a native library — check OS Compatibility below for platform-specific linking notes.
Summary
| Latest Version | 0.2.0 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:26 |
Tags
Authors
- neroist
Installation
nimble install brotli
choosenim install brotli
git clone https://github.com/neroist/brotli
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| brotli | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 2.0.0 | No |
Source
| Repository | https://github.com/neroist/brotli |
|---|---|
| Homepage | https://github.com/neroist/brotli |
| Registry Source | nimble_official |
README
brotli
Nim wrapper for Brotli compression library
Usage
By default, this library will compile the C source code statically. -d:useBrotliDll
and -d:useBrotliAllDll will make the library use the brotlienc and brotlidec
libraries. Use -d:useBrotliEncDll or -d:useBrotliDecDll to use a specific DLL.
See tests/test1.nim for some very simple usage examples.