Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: Set option for deletion #106

Open
Bizarrus opened this issue May 28, 2017 · 0 comments
Open

enhancement: Set option for deletion #106

Bizarrus opened this issue May 28, 2017 · 0 comments

Comments

@Bizarrus
Copy link

If extracting are finished, i wan't an option to delete the ZIP-Archive.

Sample:
var file = 'test.zip';
var path = './';

fs.createReadStream(file).pipe(UnZIP.Extract({
    path:    path,
    delete: true // New Option
});

Yes, we can adding the .on('finish', callback) Event, but i think, this option must be implemented as a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant