Skip to content

Suggestion: Add clarification regarding output directory, use "./" for same folder #104

Open
@Taz-1999

Description

@Taz-1999

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions