Sergey Kim

Results 1 comments of Sergey Kim

``` const archive = archiver('zip', {zlib: {level: 9}}); const fileName = 'archive.zip'; archive.attachement(fileName); archive.pipe(res); archive.on('end', function () { // delete files after archiving }); for (const file of files) {...