📅  最后修改于: 2022-03-11 15:03:42.698000             🧑  作者: Mango
zipper = require('zipper').Zipper;
var zipfile = new zipper('/path/to/my/zipfile.zip');
zipfile.addFile('myfile.txt', '/path/to/myfile.txt', function (err) {
if (err) throw err;
// Do stuff
});