Matte is an implementation a thread pool pattern for node.js
As we know Node.js is asynchronous but some features stay synchronous. The matte solution can help you to avoid blocking your main thread and compute sync things in another Event loop.
npm install @datapain/matte
Use Worker Pool by promise handling:
Also, you can use it with the callback:
finally, the simple way:
We use SemVer for versioning.