Maintained fork for Node 20+ / ESM / webpack 5: threadsx
- 主要语言
- TypeScript
- 星标
- 3.5k
- 派生
- 173
- PR 合并指标
- 30 天内没有已合并 PR
描述
First, thanks for threads.js — it's a great API and has been hugely useful.
Since the project hasn't seen active maintenance recently, I've published a maintained fork, **[threadsx](https://github.com/jmaleonard/threadsx)** (`npm install threadsx`), for anyone currently blocked. The public API is unchanged. It addresses several open issues here:
- Native ESM support (#496, #452, #434)
- TypeScript + webpack 5 / Vite worker bundling via the standard `new Worker(new URL("./worker", import.meta.url))` form — no `threads-plugin` (#387, #466, #483)
- Process not exiting after `Thread.terminate()` — fixed a worker/timer leak (#345)
- Node 20+ floor with native `worker_threads` (drops the `tiny-worker` fallback)
Docs: https://threadsx.jmaleonard.com · Changelog: v2.0.0
Happy to send fixes back upstream too if you'd ever like to pick maintenance back up. Not trying to step on the project — just want to help folks who are stuck. 🙏
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。