threads.js
🧵 Make web workers & worker threads as simple as a function call.
- 3.5k
- TypeScript
- MIT
- 2 y ago
🧵 Make web workers & worker threads as simple as a function call.
The missing standard library for multithreading in JavaScript (Works in the browser, Node.js, Deno, Bun)
Easy-to-use threading library providing all basic features to perform work in background mode (with simulation mode).
A TypeScript RPC protocol for multiple environments (iframe, web worker, stdio, http, WebSocket)
100% Vanilla Javascript Multithreading & Parallel Execution Library
A micro workers class that easily manages a pool of threads to optimise simultaneous jobs and jobs endings, for MicroPython (used on Pycom modules & ESP32)
A powerful NestJS library for seamless worker_threads integration with decorators and dependency injection
Make a BB thread delegate every unit of work, with a composer toggle, worker threads and a timeline watchdog.
A high-performance local file search engine built with Node.js, SQLite FTS5, and Worker Threads.
A header-only thread pool library for C that makes managing parallel workloads straightforward. Copy pthreadWorkerPool.h into your project, include it, and link with pthreads - no build system integration required.
Practical Node.js systems programming exercises covering the event loop, concurrency, HTTP, middleware, and file-based APIs.
A lightweight and performant logging module for Node.js applications, available as an NPM package. It supports console and file logging with multiple levels and colors, and includes additional features such as memory usage tracking, caller information, and configurable output formats.