Do you love disgusting hacks used to great effect? Announcing…
workerbees
is an opinionated, convenient set of API bindings to Node’s worker_threads
API, which is like web workers. With it you can easily distribute work over multiple, actual threads on Node.
Maybe someone finds it useful! I don’t really have a concrete use case, I just thought the hack was too good to pass up. If you’d like to help maintain it, let me know.