browserify-zlib-next

Full zlib module for the browser

Usage no npm install needed!

<script type="module">
  import browserifyZlibNext from 'https://cdn.skypack.dev/browserify-zlib-next';
</script>

README

browserify-zlib-next

This is a fork of https://github.com/devongovett/browserify-zlib. There is an open pull request to get these changes merged back in.

Travis CI Dependency Status js-standard-style

Description

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.

API

https://nodejs.org/api/zlib.html

Not implemented

The following options/methods are not supported because pako does not support them yet.

  • The params method

License

MIT