xxxxxxxxxx
// If it's the body of a response from fetch:
fetch("example.com").then(
(resp) => {
resp.body.on('data', data => {
// log the decompressed data
// you might have to change the encoding here:
console.log(data.toString("utf8"))
}
}
)