Displaying 1 to 20 from 31 results

greenlet - 🦎 Move an async function into its own thread.

  •    Javascript

Move an async function into its own thread. A simplified single-function version of workerize.

stockroom - 🗃 Offload your store management to a worker easily.

  •    Javascript

Offload your store management to a worker. Stockroom seamlessly runs a Unistore store (and its actions) in a Web Worker, setting up optimized bidirectional sync so you can also use & subscribe to it on the main thread.

workerize-loader - 🏗️ Automatically move a module into a Web Worker (Webpack loader)

  •    Javascript

A webpack loader that moves a module and its dependencies into a Web Worker, automatically reflecting exported functions as asynchronous proxies.

defiant.js - http://defiantjs.com

  •    Javascript

DefiantJS provides the ability for you to build smart templates applicable on JSON structures, based upon proven & standardized technologies such as XSLT and XPath. DefiantJS also extends the global object JSON with the method "search", which enables searches on JSON structures with XPath expressions and returns matches as an array-like object.




speedtest - Self-hosted HTML5 Speedtest

  •    HTML

No Flash, No Java, No Websocket, No Bullshit. This is a very lightweight Speedtest implemented in Javascript, using XMLHttpRequest and Web Workers.

workly - A really simple way to move a function or class to a web worker. 🏋️‍♀️→ 😄

  •    Javascript

Moving a function to a worker is really simple. The above examples only work when the class/function is not dependent on the containing scope, i.e. other libraries or global objects. But, you can create a custom worker.js file and move the code in there. In the worker, you can expose your object/function/class using workly.expose method.

worker-plugin - 🐳 Adds native Web Worker bundling support to Webpack.

  •    Javascript

Automatically bundle & compile Web Workers within Webpack. The best part? That worker constructor works just fine without bundling turned on too.


react-webworker - ⚙️ Communicate with a Web Worker from React

  •    Javascript

Easy communication with a Web Worker or Service Worker from React. React component for easy communication with a Web Worker. Leverages the Render Props pattern for ultimate flexibility as well as the new Context API for ease of use. Just specify the public url to your Web Worker and you'll get access to any messages or errors it sends, as well as the postMessage handler. Also works with Service Workers.

threads.js - Easy to use, yet powerful multi-threading library for node.js and the browser.

  •    Javascript

Javascript thread library. Uses web workers when run in browsers and child processes when run by node.js. Also supports browsers which do not support web workers.You don't have to write the thread's code inline. The file is expected to be a commonjs module (so something that uses module.exports = ...), for node and browser.

promise-worker - Promise-based messaging for Web Workers and Service Workers

  •    Javascript

A small and performant library for communicating with Web Workers or Service Workers, using Promises. Post a message to the worker, get a message back. Note that you require() two separate APIs, so the library is split between the worker.js and main file. This keeps the total bundle size smaller.

comlink-loader - Webpack loader to offload modules to Worker threads seamlessly using Comlink.

  •    Javascript

Offload modules to Worker threads seamlessly using Comlink. The goal of comlink-loader is to make the fact that a module is running inside a Worker nearly transparent to the developer.

threadpool-js - Javascript thread pool implementation using web workers.

  •    Javascript

Deprecation notice: This package is near its end of life. Switch to threads.js instead. It provides the same features plus additional ones and is generally more awesome :) PS: If you feel different about it, feel free to open an issue.threadpool.js is aimed to be a general-purpose multi-threading library for Javascript. Its key features are portability and ease of use. The library can either be used in a stand-alone fashion or as a require.js module.

fritz - Take your UI off the main thread

  •    Javascript

A library for rendering custom elements in a web worker.

vdom-serialized-patch - Serialize virtual-dom patches as a minimal JSON object

  •    Javascript

Serialize virtual-dom patches into a very efficient JSON format, and then patch the DOM directly from that object. Designed for generating patches on the server or in a web worker and then sending that to the client. Basically this a more efficient and specialized version of vdom-as-json.

jsdom-worker - 👷‍♀️ Use Web Workers in Jest / JSDOM 🌈

  •    Javascript

This is an experimental implementation of the Web Worker API (specifically Dedicated Worker) for JSDOM. It does not currently do any real threading, rather it implements the Worker interface but all work is done in the current thread. jsdom-worker runs wherever JSDOM runs, and does not require Node.