Emulates Node's zlib module for the browser.
npm install @react-pdf/zlib

Emulates Node's zlib module for the browser.
This package is a port of browserify-zlib, but containing just the deflate bindings needed for react-pdf. It also uses the last pako version.
zlib.deflateSyncCompresses a chunk of data with Deflate.
```
zlib.deflateSync(buffer)
Return Value: It returns the chunk of data with deflate.
Creates and returns a new Deflate object.
```
zlib.createDeflate()
Return Value: Delfate instance (Transform stream)