1 |
3a515b92
|
cagy
|
# browserify-zlib
|
2 |
|
|
|
3 |
|
|
[![Travis CI](https://travis-ci.org/devongovett/browserify-zlib.svg?branch=master)](https://travis-ci.org/devongovett/browserify-zlib)
|
4 |
|
|
[![Dependency Status](https://david-dm.org/devongovett/browserify-zlib.svg?style=flat-square)](https://david-dm.org/devongovett/browserify-zlib) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
|
5 |
|
|
|
6 |
|
|
## Description
|
7 |
|
|
|
8 |
|
|
Emulates Node's [zlib](https://nodejs.org/api/zlib.html) module for the browser. Can be used as a drop in replacement with [Browserify](http://browserify.org) and [webpack](http://webpack.github.io/).
|
9 |
|
|
|
10 |
|
|
The heavy lifting is done using [pako](https://github.com/nodeca/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.
|
11 |
|
|
|
12 |
|
|
## API
|
13 |
|
|
|
14 |
|
|
https://nodejs.org/api/zlib.html
|
15 |
|
|
|
16 |
|
|
## Not implemented
|
17 |
|
|
|
18 |
|
|
The following options/methods are not supported because pako does not support them yet.
|
19 |
|
|
|
20 |
|
|
* The `params` method
|
21 |
|
|
|
22 |
|
|
## License
|
23 |
|
|
|
24 |
|
|
MIT
|