2 个仓库
Automatic UTF-8 encoding of JavaScript strings before compression with deflate or gzip.
Distinct from Gzip Compression: Distinct from Gzip Compression: focuses on the string-to-binary encoding step, not the gzip format itself.
Explore 2 awesome GitHub repositories matching data & databases · String Compression. Refine with filters or upvote what's useful.
Pako is a pure JavaScript compression library that ports the C zlib library to JavaScript, providing deflate and gzip compression and decompression capabilities. It runs in both browser and Node.js environments by using typed arrays and universal JavaScript, avoiding platform-specific APIs for cross-platform compatibility. The library handles data through bitwise operations for Huffman coding and LZ77 matching, and automatically encodes string inputs to UTF-8 before compression while decoding them back on decompression. It supports streaming chunk-based processing, allowing incremental data h
Encode JavaScript strings as UTF-8 before compressing them with deflate or gzip.
lz-string 是一个用于使用 Lempel-Ziv 算法压缩和解压字符串数据的 JavaScript 库和命令行工具。它提供了减小字符串和文件大小的实用程序,以优化存储和网络带宽。 该项目包含专门的编码器,以确保压缩数据与不同的传输层兼容。这些选项包括 Base64 编码、用于提高存储密度的 UTF-16 字符串映射,以及用于网址的 URI 安全转换。 该库支持用于本地存储优化的客户端数据压缩,并提供了一个命令行界面,用于对文件或标准输入执行压缩和解压操作。
Provides a utility for reducing the size of string data using an LZ-based algorithm to optimize storage.