worker-dom
greenlet
worker-dom | greenlet | |
---|---|---|
1 | 1 | |
3,166 | 4,650 | |
0.4% | - | |
7.4 | 0.0 | |
5 days ago | about 3 years ago | |
TypeScript | JavaScript | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
worker-dom
-
Sleekiest JavaScript Trick you know?
I recently figure how to get this trick to work. You can use synchronous xhr and service workers to make synchronous code inside dedicated workers to synchronously wait for async code to finish before continuing. There are libraries to do it for you but it is nice to know how to do it myself now.
greenlet
-
Converting expensive synchronous functions to asynchronous
Greenlet (or a similar library) may help: It lets you invoke a function as if it were async, but it runs in a web worker.
What are some alternatives?
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
parallel.js - Easy multi-core processing utilities for Node.
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
post-me - ๐ฉ Use web Workers and other Windows through a simple Promise API
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
workly - A really simple way to move a function or class to a web worker. ๐๏ธโโ๏ธโ ๐
WebCodecsOpusRecorder - WebCodecs Opus Recorder/Media Source Extensions Opus EncodedAudioChunk Player
worker-plugin - ๐ฉโ๐ญ Adds native Web Worker bundling support to Webpack.
workerize - ๐๏ธ Run a module in a Web Worker.
comlink - Comlink makes WebWorkers enjoyable.