A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk
A Javascript implementation of zip for nodejs. Allows user to create or extract zip files both in memory or to/from disk
ADM-ZIP is a pure JavaScript implementation for zip data compression for NodeJS.
With npm do:
$ npm install adm-zipElectron file system support described below.
The library allows you to:
There are no other nodeJS libraries that ADM-ZIP is dependent of
…For more detailed information please check out the wiki.
ADM-ZIP has supported electron original-fs for years without any user interractions but it causes problem with bundlers like rollup etc. For continuing support original-fs or any other custom file system module. There is possible specify your module by fs option in ADM-ZIP constructor.
Example:
const AdmZip = require("adm-zip");
const OriginalFs = require("original-fs");
// reading archives
const zip = new AdmZip("./my_file.zip", { fs: OriginalFs });
.
.
.Please report security vulnerabilities privately. See SECURITY.md.
No open issues yet, or sync has not completed.