I am trying to read a ZIP file and output it to the browser, get the code that\'s shown on the page and save it as a ZIP file
fs.readFileSync(\'/dir/file.zip
You need to use zlib module of nodejs for these purposes https://nodejs.org/api/zlib.html#zlib_zlib_createunzip_options