audreyt / node-webworker-threads

Lightweight Web Worker API implementation with native threads
https://npmjs.org/package/webworker-threads
Other
2.3k stars 149 forks source link

npm install error with node 12 #204

Open dzhhh opened 4 years ago

dzhhh commented 4 years ago

The LTS version of node is v12 now. I hope webworker-threads could compatible with node 12.

audreyt commented 4 years ago

It would help to write a thin wrapper layer that exposes this API to use worker_threads in v12

Nantris commented 4 years ago

@audreyt can you give any more insight into how one would go about making this node 12 compatible? It looks really awesome.

audreyt commented 4 years ago

Would you like to give https://www.npmjs.com/package/web-worker a try?