Is there a way to extract uploaded zip files on glitch

answer the question above

Hello there,
You can do that by both manually and programmatically.
Applications such as WinZip, 7Zip, so on. can be used to extract the ZIP file’s content.
One more way is by using an npm package named unzipper:

const { createReadStream } = require('fs');
const { Extract } = require('unzipper'); // npm i unzipper
createReadStream('example.zip').pipe(Extract({ path: 'path/to/the/extract' }));
3 Likes