Download zip with axios and unzip with adm-zip in memory (electron app)
问题 I need to download a file with axios and unzip it in memory in an electron app. I read in some SO threads (e.g.), that adm-zip supports byte buffer constructor, but I can not see this in the docs. When I extract the content, it behaves like the array is empty, but it is not. It just does create a file and does not throw any errors I do not want to use request , as the api is marked deprecated. My code is this: const axios = require("axios"); const AdmZip = require('adm-zip'); const url =