abalabahaha / zlib-sync

Synchronous zlib for NodeJS
MIT License
35 stars 7 forks source link

src: make module context-aware #6

Closed vladfrangu closed 4 years ago

vladfrangu commented 4 years ago

This allows support for using zlib-sync in worker threads

While I gave it a small test (and seems to work perfectly fine), I don't have guarantees that something won't break. However, I don't see the context being used anywhere soo..should be good!