Minizip in javascript. Work with password. Demo: https://rf00.github.io/minizip-asm.js/example/
npm install minizip-asm.js 
Minizip in javascript. Work with password. Demo: https://rf00.github.io/minizip-asm.js/example/
* Zip file
* Extract file
* Work with password
``html`
`js
npm install minizip-asm.js
var Minizip = require('minizip-asm.js');
`
`js
var fs = require("fs");
var text = new Buffer("Abc~~~");
var mz = new Minizip();
mz.append("haha/abc.txt", text, {password: "~~~"});
fs.writeFileSync("abc.zip", new Buffer(mz.zip()));
`
Constructor for making a new zip file or opening from existing one.
* @ArrayBuffer {Buffer|Uint8Array} \
* @ Return an instance of Minizip.
List all files in Minizip with full filepath and have password or not.
* @options \
* @encoding {"utf8"|"buffer"} \
* @ Return an Array. Something like this:`
js`
[{
filepath: "haha/abc.txt",
crypt: true // (type: boolean)
}]
Extract one file.
* @filepath {String|Buffer|Uint8Array} - Full filepath to extract.
* @options \
* @encoding {"utf8"|"buffer"} \password
* @ {String|Buffer|Uint8Array} \
* @ Return a Buffer.
Append one file.
* @filepath {String|Buffer|Uint8Array} - Full filepath to extract.
* @data {String|Buffer|Uint8Array} - File data.
* @options \
* @password {String|Buffer|Uint8Array} \compressLevel
* @ {Number} \
* @ Return nothing.
Retrive zip file.
* @ Return a Buffer`.
1. It is synchronize.
2. The size of minizip-asm.min.js is around 0.6MB.
3. Browser require >= IE11.