node-unzip icon indicating copy to clipboard operation
node-unzip copied to clipboard

enhancement: Set option for deletion

Open Bizarrus opened this issue 8 years ago • 0 comments

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.

Bizarrus avatar May 28 '17 12:05 Bizarrus