Emulates Node's zlib module for the browser. Can be used as a drop in replacement with Browserify and webpack.
The heavy lifting is done using pako. The code in this module is modeled closely after the code in the source of Node core to get as much compatability as possible.
https://nodejs.org/api/zlib.html
The following options/methods are not supported because pako does not support them yet.
params
methodMIT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.