A thread pool for JavaScript with Go-style concurrency primitives. Works on Node.js and Bun.
Puru is a JavaScript library that brings Go-style concurrency tools like channels, groups, and spawners to run CPU-heavy tasks off the main thread easily without complex setup.
How It Works
You're building an app that slows down on heavy calculations, and you find a simple tool that runs tough jobs in the background to keep things snappy.
You bring the tool into your project with a quick step, and it's ready to use right away.
You wrap your slow math or data crunching function in one easy line, and it magically runs on a helper without blocking your app.
You start several big tasks at once, like processing images or numbers, and let them work in parallel.
Your app stays responsive while the helpers finish, and you collect all the answers when ready.
Now your app handles huge workloads smoothly, feels super quick, and your users are thrilled.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.