1 points · by thatxliner · 3y ago · 5 comments
I haven't had cause to use it yet, but I very much trust/respect the team behind: https://www.npmjs.com/package/piscina . It's so popular it has well maintained forks, such as tinypool, https://www.npmjs.com/package/tinypool .
Also seeing good npm popularity metrics around: https://www.npmjs.com/package/synckit
While it may not provide parallel map out of the box it will help to implement it a little bit easier than using nodes api.