How to download csv.gz file in Node.js and convert it to JSON? I tried this:
request.get("https://onesignal.s3.amazonaws.com/csv_exports/appID_etc.csv.gz", (error, res, body) => {
console.log(body)
})
but it prints me this output which I can't work with like converting it to JSON: