worker-dom
workerize
worker-dom | workerize | |
---|---|---|
1 | 1 | |
3,166 | 4,339 | |
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.
workerize
-
Consistently responsive apps while staying on the main thread
Here are a couple attempts at doing just that.
What are some alternatives?
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
comlink - Comlink makes WebWorkers enjoyable.
greenlet - ๐ฆ Move an async function into its own thread.
post-me - ๐ฉ Use web Workers and other Windows through a simple Promise API
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
workly - A really simple way to move a function or class to a web worker. ๐๏ธโโ๏ธโ ๐
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
WebCodecsOpusRecorder - WebCodecs Opus Recorder/Media Source Extensions Opus EncodedAudioChunk Player