2 Repos
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 ist eine JavaScript-Bibliothek und ein CLI-Tool zur Komprimierung und Dekomprimierung von String-Daten mittels Lempel-Ziv-Algorithmen. Es bietet Dienstprogramme zur Reduzierung der Größe von Strings und Dateien, um Speicherplatz und Netzwerkbandbreite zu optimieren. Das Projekt enthält spezialisierte Encoder, um sicherzustellen, dass komprimierte Daten mit verschiedenen Transportebenen kompatibel sind. Dazu gehören Optionen für Base64-Kodierung, UTF-16-String-Mapping für höhere Speicherdichte und URI-sichere Übersetzung für die Verwendung in Webadressen. Die Bibliothek unterstützt clientseitige Datenkomprimierung zur Optimierung des lokalen Speichers und bietet eine Befehlszeilenschnittstelle für Komprimierungs- und Dekomprimierungsvorgänge von Dateien oder Standard-Input.
Provides a utility for reducing the size of string data using an LZ-based algorithm to optimize storage.