All Projects â†’ denosaurs â†’ Deno_brotli

denosaurs / Deno_brotli

Licence: mit
🗜 Brotli wasm module for deno

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Deno brotli

gzipped
Replacement for golang http.FileServer which supports precompressed static assets.
Stars: ✭ 86 (+115%)
Mutual labels:  compression, brotli
BrotliSharpLib
Full C# port of Brotli compression algorithm
Stars: ✭ 77 (+92.5%)
Mutual labels:  compression, brotli
tiny
compress data for better performance
Stars: ✭ 21 (-47.5%)
Mutual labels:  compression, brotli
Docker Nginx Brotli
Stable nginx with google brotli compression module
Stars: ✭ 107 (+167.5%)
Mutual labels:  compression, brotli
Lizard
Lizard (formerly LZ5) is an efficient compressor with very fast decompression. It achieves compression ratio that is comparable to zip/zlib and zstd/brotli (at low and medium compression levels) at decompression speed of 1000 MB/s and faster.
Stars: ✭ 408 (+920%)
Mutual labels:  compression, brotli
Turbobench
Compression Benchmark
Stars: ✭ 211 (+427.5%)
Mutual labels:  compression, brotli
django-brotli
Django middleware that compresses response using brotli algorithm.
Stars: ✭ 16 (-60%)
Mutual labels:  compression, brotli
Libbrotli
meta project to build libraries from the brotli source code
Stars: ✭ 110 (+175%)
Mutual labels:  compression, brotli
Compress
Collection of compression related Go packages.
Stars: ✭ 319 (+697.5%)
Mutual labels:  compression, brotli
EasyCompressor
âš¡ A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.
Stars: ✭ 167 (+317.5%)
Mutual labels:  compression, brotli
Fastify Compress
Fastify compression utils
Stars: ✭ 95 (+137.5%)
Mutual labels:  compression, brotli
Rust Brotli
Brotli compressor and decompressor written in rust that optionally avoids the stdlib
Stars: ✭ 504 (+1160%)
Mutual labels:  compression, brotli
box
Box - Open Standard Archive Format, a zip killer.
Stars: ✭ 38 (-5%)
Mutual labels:  compression, brotli
pyrus-cramjam
Thin Python wrapper to de/compression algorithms in Rust - lightweight & no dependencies
Stars: ✭ 40 (+0%)
Mutual labels:  compression, brotli
Lzbench
lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
Stars: ✭ 490 (+1125%)
Mutual labels:  compression, brotli
Peazip
Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager. Features volume spanning, compression, authenticated encryption. Supports 7Z, 7-Zip sfx, ACE, ARJ, Brotli, BZ2, CAB, CHM, CPIO, DEB, GZ, ISO, JAR, LHA/LZH, NSIS, OOo, PAQ/LPAQ, PEA, QUAD, RAR, RPM, split, TAR, Z, ZIP, ZIPX, Zstandard.
Stars: ✭ 827 (+1967.5%)
Mutual labels:  compression, brotli
Image Actions
A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.
Stars: ✭ 844 (+2010%)
Mutual labels:  compression
Finitestateentropy
New generation entropy codecs : Finite State Entropy and Huff0
Stars: ✭ 949 (+2272.5%)
Mutual labels:  compression
Nippy
High-performance serialization library for Clojure
Stars: ✭ 838 (+1995%)
Mutual labels:  compression
Scn
Scale-wise Convolution for Image Restoration
Stars: ✭ 26 (-35%)
Mutual labels:  compression

deno_brotli

stars workflow releases deno version deno doc Discord license issues

This module provides brotli support for deno and the web by providing simple bindings using rust-brotli compiled to webassembly.

Usage

Compression

import { compress } from "https://deno.land/x/brotli/mod.ts";

const text = new TextEncoder().encode("X".repeat(64));

console.log(text.length);                   // 64 Bytes
console.log(compress(text).length);         // 10 Bytes

Decompression

import { decompress } from "https://deno.land/x/brotli/mod.ts";

const compressed = Uint8Array.from([ 27, 63, 0, 0, 36, 176, 226, 153, 64, 18 ]);

console.log(compressed.length);             // 10 Bytes
console.log(decompress(compressed).length); // 64 Bytes

Other

Contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

Licence

Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].