browserify / browserify/browserify-zlib
Node zlib inflateSync will take UInt8Array, browserify-zlib won't
Open
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
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))
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.