1 dépôt
Detects string inputs and automatically encodes them to UTF-8 before compression, then decodes back on decompression.
Distinct from Gzip Compression: Distinct from Gzip Compression: adds automatic UTF-8 string encoding/decoding around the compression step, not just raw gzip format handling.
Explore 1 awesome GitHub repository matching data & databases · Automatic UTF-8 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
Detect string input and encode it to UTF-8 before compression, and decode decompressed UTF-8 data back to a JavaScript string when requested.