lz-string 是一个用于使用 Lempel-Ziv 算法压缩和解压字符串数据的 JavaScript 库和命令行工具。它提供了减小字符串和文件大小的实用程序,以优化存储和网络带宽。
pieroxy/lz-string 的主要功能包括:String Compression, JavaScript, LZ-Based String Compressors, Dictionary-Based Compression, Sliding Window Matching, Client-Side Compression, Browser-Based Compression Libraries, Compression and Decompression。
pieroxy/lz-string 的开源替代品包括: facebook/zstd — Zstandard is a lossless data compression library and archive format designed for high compression ratios and fast… nodeca/pako — Pako is a pure JavaScript compression library that ports the C zlib library to JavaScript, providing deflate and gzip… google/brotli — Brotli is a lossless data compression library and engine that uses dictionary coding and frequency analysis to reduce… lz4/lz4 — This project provides a lossless compression algorithm and a byte-oriented compression library designed for high-speed… dop251/goja — Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded… donaldcwl/browser-image-compression — Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser.…
Zstandard is a lossless data compression library and archive format designed for high compression ratios and fast real-time processing. It functions as a real-time data compressor and multi-threaded compression engine capable of distributing workloads across multiple CPU cores to increase throughput. The system features a dictionary-based compressor that trains on sample data to improve the compression ratio and speed of small files. It also provides long distance pattern matching to identify repeated sequences across large files. The library covers a broad range of capabilities including st
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
Brotli is a lossless data compression library and engine that uses dictionary coding and frequency analysis to reduce file sizes. It provides tools for shrinking data streams and files while ensuring every bit of original information is preserved for perfect restoration. The project focuses on optimizing web content and network bandwidth by reducing the size of HTML, CSS, and JavaScript files. It is designed for integration into web servers and browsers to improve the efficiency of data transmission. The library includes capabilities for both compressing and decompressing data streams. It al
This project provides a lossless compression algorithm and a byte-oriented compression library designed for high-speed data reduction and maximum decompression speed. It functions as a stream-oriented compression engine, a software library for encoding and decoding data blocks, and a command-line tool for managing interoperable compressed frames. The system distinguishes itself through the use of predefined pattern dictionaries to improve compression ratios for small data sets and small packets. It supports multiple processing modes, including high-speed block compression for minimal latency