SUCHMOKUO/node-worker-threads-pool
Simple worker threads pool using Node's worker_threads module. Compatible with ES6+ Promise, Async/Await and TypeScript 🚀. Use StaticPool to create a threads pool with a task from worker file or from task function provided to make use of multi-core processor. Use DynamicPool to create a threads pool with different tasks provided each call.
https://github.com/SUCHMOKUO/node-worker-threads-pool