Open
Description
My problem was that unpacking zipfile 6010.zip using 6010 as output did not work. I got 6010/6010/ and in the latter was the files. Because the archive was a zipped folder named 6010.
Empty string as output, or emitting output completely does not accomplish what I want. Neither finding out the parent directory and using that for output.
Suggestion for this simple clarification in the ReadMe under Output directory.
Add
Use "./" as output to unpack in the same directory.
Example:
decompress('unicorn.zip', './').then(files => {
console.log('done!');
});
Thanks for a great package.
Metadata
Metadata
Assignees
Labels
No labels