browserify-zlib icon indicating copy to clipboard operation
browserify-zlib copied to clipboard

Full zlib module for browserify

Results 23 browserify-zlib issues
Sort by recently updated
recently updated
newest added

The zlib module's new (11.7+) brotli methods are not supported. Docs here: https://nodejs.org/api/zlib.html#zlib_class_zlib_brotlicompress. Presumably this is because Pako doesn't support them? It'd be good to list this in the readme...

I'm getting this error trying to unzip files in the browser. The files unzip without error in Node. I attempted this on several zip files, got same error. Any hints?

For example, this code is fine with node: ``` zlib.inflateSync(arr); ``` But with browserify-zlib we get `TypeError: not a string or buffer` and we must write instead: ``` zlib.inflateSync(Buffer.from(arr)) ```

I am getting this error ERROR in ../node_modules/zlib/lib/zlib.js 1:0-43 Module not found: Error: Can't resolve './zlib_bindings' in 'C:\My Desktop\TRY_MERNG_ISSUE\node_modules\zlib\lib'

[String.prototype.substr()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) is deprecated so we replace it with [String.prototype.slice()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice) which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't...

It would be nice to have some installation instructions for this. I have no idea what to do with the code. Am I supposed to run browserify on it?

I've been working on a compression library [fflate](https://101arrowz.github.io/fflate) for the past few months. It performs quite a bit better than Pako in most circumstances for both compression and decompression of...

Some files created with `bgzip` cannot be decompressed, or at least not with the same options as node's native `zlib`.