define-threads
Helps you use workers more easily in NodeJS, just like an async function
Helps you use workers more easily in NodeJS, just like an async function
多线程工具
Node.js Worker class compatible with typescript files
Consistent Web Workers in browser and Node.js
Consistent Web Workers in browser and Node.
Run your CPU intensive functions in a separate thread on the fly, and keep your application running at 60FPS.
Web workers & worker threads as simple as a function call
Check if javascript code is running in the main thread or in a worker thread. This module is compatible with web browsers, bun, deno and node.js. # Usage ```js import { isMainThread } from '@dandre3000/is-main-thread'
Wrapper for Node's Workers, easily define methods and share them between main thread and worker.
Node.js Atomic thread safe tools