Note: These bundles are not ES module compatible (you cannot import them directly). Use index.js at the project root or one of the zip-*.js files in /lib (e.g. /lib/zip-core.js) for ESM usage.
Contents:
zip.js/zip.min.js: FullZipWriter/ZipReaderbundles with embedded Web Worker code and WASM.zip-fs.js/zip-fs.min.js: FullZipWriter/ZipReaderplus virtual file system (fs), with embedded Web Worker code and WASM.zip-core.js/zip-core.min.js: MinimalZipWriter/ZipReader.zip-fs-core.js/zip-fs-core.min.js: MinimalZipWriter/ZipReaderplus virtual file system (fs).
Online builder:
Alternatively, you can build your own version of zip.js with the online builder, see https://gildas-lormeau.github.io/zip.js/builder.
Notes:
- Files suffixed with
-nativerely on a pure JavaScript implementation of Compression Streams instead of a WASM module. zip-legacy.min.jsis the equivalent ofzip.min.jsbefore the version2.8, it relies on a JavaScript implementation of Compression Streams (if used) but only in web workers. Alternativelyzip-native.min.jsincludes the Compression Streams implementation in the main environment and the web workers.