JSPM

Found 103 results for worker_threads

web-worker

Consistent Web Workers in browser and Node.

  • v1.5.0
  • 92.13
  • Published

@eshaz/web-worker

Consistent Web Workers in browser and Node.

  • v1.2.2
  • 79.74
  • Published

threads

Web workers & worker threads as simple as a function call

  • v1.7.0
  • 78.88
  • Published

node-worker-threads-pool

Simple worker threads pool using Node's worker_threads module. Compatible with ES6+ Promise, Async/Await.

  • v1.5.1
  • 69.02
  • Published

poolifier

Fast and small Node.js Worker_Threads and Cluster Worker Pool

  • v5.1.6
  • 62.15
  • Published

bthreads

worker threads for javascript

  • v0.5.1
  • 57.71
  • Published

@xylabs/threads

Web workers & worker threads as simple as a function call

  • v5.0.11
  • 57.45
  • Published

@chainsafe/threads

Web workers & worker threads as simple as a function call

  • v1.11.2
  • 49.72
  • Published

funthreads

A lightweight tool built on top of Node.js worker_threads, enabling multithreading.

  • v2.0.4
  • 45.23
  • Published

multee

Turn node's multitasking modules, child_process and worker_threads into simple async functions

  • v0.2.4
  • 42.17
  • Published

pevnt

Command runner and consumer

  • v1.0.4
  • 36.54
  • Published

piscina-locks

A Web Locks API implementation for Node.js

  • v3.1.1
  • 31.75
  • Published

ntsu

Node task scheduling utilities

  • v2.1.0
  • 30.81
  • Published

pg-parallel

A specialized Node.js wrapper for `node-postgres` that prevents event-loop blocking by offloading heavy CPU tasks and complex transactions to worker threads.

  • v1.4.0
  • 30.74
  • Published

worker-union

🤼‍♂️ Package that makes it easy and convenient to use native worker_threads module

  • v2.2.0
  • 29.89
  • Published

thread-it

wrap any sync module to thread worker

  • v3.0.0
  • 26.56
  • Published

node-worker-threads-pool-ts

Simple worker threads pool using Node's worker_threads module. Compatible with ES6+ Promise, Typescript, Async/Await.

  • v1.5.1
  • 25.96
  • Published

webpack-multithread

Run multiple webpack configurations parallel (using worker_threads underhood)

    • v1.0.3
    • 25.44
    • Published

    thread-pool-node

    Worker threads pool based on generic-pool

    • v1.0.9
    • 24.79
    • Published

    nodejs-threadpool

    基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等

    • v1.0.1
    • 24.62
    • Published

    @jawis/shared-algs

    Data structures for building concurrent programs.

    • v5.0.0-dev
    • 24.34
    • Published

    worker_map

    Tread-safe map structure for worker_threads.

    • v0.0.8
    • 24.32
    • Published

    node-routine

    A library to implement Goroutine-Like API with worker threads.

    • v0.2.1
    • 22.88
    • Published

    worker-fn

    worker-fn hides the complexity of communication between the JavaScript main thread and Worker threads, making it easy to call the functions defined in workers.

    • v3.2.1
    • 19.78
    • Published

    @mcjxy/task-pool

    Easy way to manage a pool of workers, support cluster mode(run tasks in different process), thread mode(run tasks in different thread) and normal mode(run tasks in current thread)!

    • v1.1.8
    • 19.36
    • Published

    @fluencelabs/threads

    Web workers & worker threads as simple as a function call

    • v2.0.0
    • 18.48
    • Published

    @haggholm/threads

    Web workers & worker threads as simple as a function call

    • v1.6.3
    • 17.69
    • Published

    worker-thread-pool

    A easy way to create a pool of worker threads.

    • v1.0.0
    • 16.96
    • Published

    fastify-threads

    A Fastify plugin that exposes threads.js functionality

    • v2.0.0
    • 15.88
    • Published

    wormise

    With this library, you can create a Promise that executes in a new thread.

    • v2.0.45
    • 15.85
    • Published

    promise-workers

    Promises + Workers = multi-threaded PromiseWorkers!

    • v2.0.2
    • 15.63
    • Published

    z-ipc

    Z-IPC is an easy-to-use, extensible and fully type-safe IPC solution for JavaScript environments.

    • v0.0.9
    • 15.04
    • Published

    @aspectron/web-worker

    Consistent Web Workers in browser and Node (NWJS-compatible fork)

    • v1.0.0
    • 14.75
    • Published

    chatgpt-worker

    one proxy for request ai site

      • v0.2.24
      • 13.36
      • Published

      node-threadrunner

      Execute code in a background worker thread on node.js

      • v1.0.3
      • 12.62
      • Published

      thread_pools

      Thread pool with Auto-configuration for worker_threads, provides both thread and pool function, has thread-safe storage

      • v2.5.5
      • 12.31
      • Published

      nestworker

      A lightweight tool built on top of Node.js worker_threads, enabling multithreading.

      • v1.1.20
      • 12.31
      • Published

      @tripod311/leg5

      Zero-dependency concurrent function execution for Node.js using worker threads.

      • v0.0.3
      • 12.21
      • Published

      shared-data

      Lib for shared data transfer between streams

      • v1.0.5
      • 12.04
      • Published

      workerhelp

      基于Node.js worker_threads 的轻量级跨线程RPC通信模块,支持主线程与Worker线程之间的异步方法调用。

        • v1.0.3
        • 11.74
        • Published

        whatwg-worker

        Consistent Web Workers in browser and Node.

        • v1.0.2
        • 11.38
        • Published

        sync-actions

        A library for synchronously executing asynchronous operations with type-safe calls.

        • v1.3.0
        • 11.35
        • Published

        iworker

        Nodejs worker_threads promised wrapper

        • v0.2.0
        • 10.37
        • Published

        as-nodejs-threadpool

        基于nodejs worker_threads的线程池。耗时操作或nodejs没有提供异步模式的api(例如解密、同步的文件api)都可以在线程池中执行,业务代码只需要返回一个Promise或async函数给线程池库,至于业务逻辑做什么操作,其实都可以,比如setTimeout,异步操作,async await等

        • v1.0.0
        • 10.37
        • Published

        @dandre3000/is-main-thread

        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'

          • v1.0.0
          • 10.20
          • Published

          cron-worker-threads

          NodeJS library for starting cron jobs in separate threads

            • v1.0.6
            • 9.52
            • Published

            ts-worker

            Easily use worker_threads with Typescript

            • v1.0.3
            • 8.75
            • Published

            synchronous-channel

            Synchronous message channel for inter-thread communication

            • v0.0.1-alpha
            • 7.94
            • Published

            thread-pool-ts

            基于 worker_threads 的通用线程池任务执行器(支持并发控制、顺序输出、超时终止)

            • v1.0.3
            • 7.86
            • Published

            @woosh/web-worker

            Consistent Web Workers in browser and Node.

            • v1.2.7
            • 7.86
            • Published

            @jc-lab/threads

            Web workers & worker threads as simple as a function call

            • v1.0.0-rc2
            • 7.62
            • Published

            @yanfanvip/threads

            Web workers & worker threads as simple as a function call

            • v1.7.2
            • 7.62
            • Published

            @kimera/workinator

            Run your CPU intensive functions in a separate thread on the fly, and keep your application running at 60FPS.

            • v0.1.5
            • 7.60
            • Published

            simplified-concurrence

            Easy way to create worker threads or forks with two way communication to do heavy tasks

            • v1.1.0
            • 6.90
            • Published

            async-message

            Call another threads as simple as a function call

            • v0.3.0
            • 6.90
            • Published

            node-workers-pool

            Easy way to manage a pool of worker threads.

            • v1.1.4
            • 6.67
            • Published

            inline-esm-worker

            A node.js worker_thread that runs once, can load modules and returns stdout

              • v0.0.4
              • 6.67
              • Published

              ergate

              ergate

              • v2.0.11
              • 5.81
              • Published

              dl-worker

              多线程工具

                • v1.1.0
                • 5.67
                • Published

                vblaze

                • v1.0.5
                • 5.57
                • Published

                threadpull

                Create and manage a pool of worker threads with an improved two-way communication.

                • v1.0.0
                • 5.57
                • Published

                threadevents

                A simple wrapper for worker_threads that adds events

                  • v0.1.0
                  • 4.35
                  • Published

                  worker_threads_clusters

                  Split CPU-intensive tasks on multiple servers through node worker_threads.

                  • v0.0.6
                  • 4.29
                  • Published

                  mini-worker

                  Working example implementation of "worker_threads"

                  • v1.0.1
                  • 4.21
                  • Published

                  thweads

                  Simple multithreading for Node.js

                  • v1.0.0
                  • 2.57
                  • Published

                  @asn.aeb/ts-worker

                  Node.js Worker class compatible with typescript files

                  • v1.1.0
                  • 2.56
                  • Published

                  @ncpa0cpl/node-worker-bridge

                  Wrapper for Node's Workers, easily define methods and share them between main thread and worker.

                  • v0.0.3
                  • 2.47
                  • Published

                  funkythreads

                  Runs a function as a worker thread.

                  • v1.1.2
                  • 2.46
                  • Published

                  whatimports

                  A multithreaded CLI tool to find all imports of a specified package across various file types. https://github.com/SnypeAI/whatImports

                    • v1.0.2
                    • 0.00
                    • Published

                    fastdash

                    multithreaded utility functions for node using worker threads

                    • v0.1.2
                    • 0.00
                    • Published

                    @hive-command/threads

                    Web workers & worker threads as simple as a function call

                    • v1.7.0
                    • 0.00
                    • Published

                    threadwork

                    Simple, no frills, threading in Node.js

                    • v0.6.0
                    • 0.00
                    • Published

                    define-threads

                    Helps you use workers more easily in NodeJS, just like an async function

                    • v2.0.1
                    • 0.00
                    • Published

                    @anonaddy/omni-worker

                    Run your code including all imports inside workers on either the web or on NodeJS!

                    • v0.2.0
                    • 0.00
                    • Published

                    requiret

                    Require module as Worker Thread

                    • v1.0.4
                    • 0.00
                    • Published

                    @springtype/st-ecmascript-parser

                    ECMAScript 2020 parser for JavaScript and TypeScript, based on buntis. Used by SpringType Bundler/Compiler.

                      • v1.0.0-alpha.1
                      • 0.00
                      • Published

                      @soapbox.pub/threads

                      Web workers & worker threads as simple as a function call

                      • v1.7.5
                      • 0.00
                      • Published

                      worker-threads.js

                      Web workers & worker threads as simple as a function call

                      • v1.6.5
                      • 0.00
                      • Published