adm-zip
adm-zip copied to clipboard
On writeZip is it possible to define the folder name that gets created on extract different from file name?
I'm trying to duplicate the command zip -r build.zip php/* ;, which creates a zip named build.zip but on extract creates a php dir. But when I do
await zip.addLocalFolder('./php');
await zip.writeZipPromise('./build.zip');
It creates a build dir.