Fast Snappy Compression/Decompression for Deno.
import { compress } from 'https://x.nest.land/snappy@0.0.3/mod.ts';
let text = new TextEncoder().encode("Hello, World!");
compress(text);
$ deno run -A scripts/build.ts
Requires wasm.js
to be built first.
$ deno test
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt
and commit messages are done following Conventional Commits spec.
Copyright 2020, Divy Srivastava. All rights reserved. MIT license.