Displaying 1 to 20 from 34 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.

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.

web-worker - Consistent Web Workers in browser and Node.

  •    Javascript

Native cross-platform Web Workers. Works in published npm modules. In Node, it's a web-compatible Worker implementation atop Node's worker_threads.

neo - The application worker driven frontend framework

  •    Javascript

neo.mjs enables you to create scalable & high performant Apps using more than just one CPU. No need to take care of a workers setup, and the cross channel communication on your own. Most frontends today still look like this. Everything happens inside the main thread (browser window), leading to a poor rendering performance. The business logic happens inside main as well, which can slow down DOM updates and animations. The worst case would be a complete UI freeze.

partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker

  •    TypeScript

Partytown is a lazy-loaded library to help relocate resource intensive scripts into a web worker, and off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code, and offloading third-party scripts to a web worker. The philosophy is that the main thread should be dedicated to your code, and any scripts that are not required to be in the critical path should be moved to a web worker. Main thread performance is, without question, more important than web worker thread performance.

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.

Freelancer - :necktie: An implementation of on-the-fly defined WebWorkers that are created inline using data URIs, rather than separate physical files — for the benefit of all humanity

  •    Javascript

An implementation of on-the-fly defined WebWorkers that are created inline using data URIs, rather than separate physical files — for the benefit of all humanity..

page-bus - share an event emitter among pages and frames on the same domain

  •    Javascript

This module works offline and does not rely on any network IO.Behind the scenes, the localStorage API and the window 'storage' event is used to synchronize cross-page events.

standalone - Creates an isolated thread / process in JavaScript (Node.js and modern browsers).

  •    Javascript

Creates an isolated thread / process in JavaScript (Node.js and modern browsers). In master.js, we can use "getXXXByYYY" asynchronously, while the originally defined API is synchronous.

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.

tiny-worker - Tiny WebWorker for the Server

  •    Javascript

require() is available for flexible inline Worker scripts. Optional parameters args Array & options Object; see child_process.fork() documentation. To be able to debug a child process, it must have a differnt debug port than the parent. Tiny worker does this by adding a random port within a range to the parents debug port. The default Range is [1, 300], it can be changed with the setRange(min, max) method. To disable any automatic port redirection set options.noDebugRedirection = true.

mindwallet - A wallet generator based on memwallet for bitcoin, ethereum, monero and litecoin using argon2 instead of scrypt

  •    HTML

MindWallet is a deterministic cryptocurrency address generator heavily based on MemWallet but using argon2 instead scrypt as hashing function, it's like WarpWallet, but it works for Ethereum, Litecoin, Monero and Bitcoin. You never have to save or store your private key anywhere. Just pick a really good password - many random words, for example - and never use it for anything else. Given the same Passphrase and Salt, MemWallet will always generate the same address and private key, so if you only need to remember your password to access your funds.


  •    Javascript

Maintain a pool of Web Workers with callbacks. Based on Ilmari Heikkinen's WorkCrew library. Easily wrap existing libraries in Web Worker functionality. Works in the browser and node.js. See the example folder for a demonstration of how the library should be used.

ExtJS-WebWorker - Ext

  •    Javascript

ExtJS-WebWorker is an extension to handle and use the HTML5 WebWorker with ExtJS and Sencha Touch. It has two classes: Ext.ux.WebWorker and Ext.ux.WebWorkerManager The first one is a wrapper for standard HTML5 WebWorker and it provides a lot of interesting and easy-to-use features. The second one is a singleton to register different Ext.ux.WebWorker and it provides functions to work with every registered webworker at the same time.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.