Custom Builder for zip.js

Select your preferred settings to generate a customized, standalone build of zip.js

Configuration

API:
Size: A read-only build removes ZipWriter and the whole write path, a write-only build removes ZipReader and the whole read path. In a write-only build, ZipWriter#prependZip() throws an exception, prepending an existing zip file requires a reader. Not available with the File System API, which relies on both.
Speed & RAM: Improves responsiveness by running compression on background threads (multi-core support). Consumes more RAM only when compressing multiple entries in parallel.
Compression Implementation:
Features vs Compatibility: every build uses the native CompressionStream/DecompressionStream APIs when the environment supports them. This option selects the implementation embedded in the build for everything else.
  • WASM/JS: Supports custom compression levels, deflate64 decompression, and older environments (requires no browser-native streams support).
  • None: Smallest size, no implementation is embedded. Only 'deflate' with the default compression level, and browser-native streams support is required.


Impact: If unchecked, space is saved but compression will fail if Web Workers are not available or fail to start.
File System API (fs):
Rich Management: Higher-level API that allows editing, adding, and removing files from ZIP archives in a virtual file system.
Output Format: