An API returns large resultsets and I was wishing that I could gzip it in PHP but I wouldn't know how to gunzip it in Javascript. Is there some sort of library that is capable of this in Javascript? I was searching the net and found some stuff but couldn't quite figure out how to make use of it. So, if anybody has ever dealt with this before, advise is highly appreciated.
(The API response is worth about 1MB)