JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
compressionMethod
in ZipWriter
for handling custom compression methods (e.g. zstd) when setting the option passThrough
to true
ZipReader
when setting passThrough
to true
and using a Uint8Writer
class to get the uncompressed datacheckPasswordOnly
property in the type definitions (index.d.ts
)passThrough
in ZipReader
, ZipWriter
, and ZipDirectoryEntry#import
methods. This allows reading/writing directly the raw data of zip entries without processing it (i.e. compressing or/and encrypting data)offset
in ZipWriter
. This allows setting the offset of the first entry in the file to a value > 0. This can be useful when creating zip files with prepended databitFlag
property in ZipWriter
. It will now take into account the level of compression and update the bit flag value accordingly.Published by gildas-lormeau 3 months ago
useUnicodeFileNames
by @eliandoran in https://github.com/gildas-lormeau/zip.js/pull/521
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.47...v2.7.48
Published by gildas-lormeau 6 months ago
ZipReaderStream
example in the documentation by @jespertheend in https://github.com/gildas-lormeau/zip.js/pull/510
Entry#filename
and Entry#comment
will be used if encodeText
/decodeText
functions return undefined
values (see #507)Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.43...v2.7.44
decodeText
and encodeText
options to handle text encoding when reading and writing a zip file respectively.Published by gildas-lormeau 7 months ago
Added combineSizeEocd
option in HttpReader
(see https://gildas-lormeau.github.io/zip.js/api/interfaces/HttpOptions.html)
preventHeadRequest
false check. by @bwbroersma in https://github.com/gildas-lormeau/zip.js/pull/499
combineSizeEocd
option to combine range size with eocd by @bwbroersma in https://github.com/gildas-lormeau/zip.js/pull/500
combineSizeEocd
Typescript definitions. by @bwbroersma in https://github.com/gildas-lormeau/zip.js/pull/501
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.40...v2.7.41
Published by gildas-lormeau 8 months ago
ZipReaderStream
& ZipWriterStream
classes by @BlackAsLight in https://github.com/gildas-lormeau/zip.js/pull/488
Full Changelog: https://github.com/gildas-lormeau/zip.js/compare/v2.7.34...v2.7.35
rawPassword
to provide passwords not encoded in UTF-8 (see https://github.com/gildas-lormeau/zip.js/discussions/477)terminateWorkers()
can be called asynchronously in order to wait for the termination of all workersWorker
API (see #480)chunkSize
optionPublished by gildas-lormeau 11 months ago
Fixed potential data corruption in Deno when using Web Workers (Thanks to @vi117, see #466)