nimsnappy

Nim wrapper for the snappy compression library. there is also a high-level API for easy use

Wrapper score 15/100 · tests present · no docs generated

Wraps a native library — check OS Compatibility below for platform-specific linking notes.

Summary

Latest Version Unknown
License BSD
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install nimsnappy
choosenim install nimsnappy
git clone https://github.com/dfdeshom/nimsnappy.git

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
nimsnappy - - - - - - -

Source

Repository https://github.com/dfdeshom/nimsnappy.git
Homepage https://github.com/dfdeshom/nimsnappy
Registry Source nimble_official

README

nimsnappy

Nim wrapper for the snappy compression library. there is also a high-level API to for easy usage. The two functions exposed are compress and uncompress. This wrapper tracks snappy version 1.1.3

Example usage:

import nimsnappy
var input = readFile("LICENSE")
var compress = compress(input)
var decompress = uncompress(compress)
echo(decompress==input)