1 个仓库
Specialized compression of text data specifically for the JavaScript environment.
Distinct from String Compression: Focuses on JS string handling rather than general UTF-8 binary encoding seen in the parent.
Explore 1 awesome GitHub repository matching data & databases · JavaScript. Refine with filters or upvote what's useful.
lz-string 是一个用于使用 Lempel-Ziv 算法压缩和解压字符串数据的 JavaScript 库和命令行工具。它提供了减小字符串和文件大小的实用程序,以优化存储和网络带宽。 该项目包含专门的编码器,以确保压缩数据与不同的传输层兼容。这些选项包括 Base64 编码、用于提高存储密度的 UTF-16 字符串映射,以及用于网址的 URI 安全转换。 该库支持用于本地存储优化的客户端数据压缩,并提供了一个命令行界面,用于对文件或标准输入执行压缩和解压操作。
Reduces the size of text data in JavaScript to save storage space or reduce network bandwidth.