jsdom-worker
greenlet
jsdom-worker | greenlet | |
---|---|---|
1 | 1 | |
282 | 4,650 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 3 years ago | |
JavaScript | JavaScript | |
- | - |
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.
jsdom-worker
-
Web Workers to the Rescue โ How to Work with JSON Strings without Blocking User Interactions
At the time of writing, jsdom-worker does not support shared workers, in the GitHub page there is an issue open to handle this situation.
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?
testing-library-docs - docs site for @testing-library/*
parallel.js - Easy multi-core processing utilities for Node.
jest-dom - :owl: Custom jest matchers to test the state of the DOM
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
worker-plugin - ๐ฉโ๐ญ Adds native Web Worker bundling support to Webpack.
comlink - Comlink makes WebWorkers enjoyable.
worker-dom - The same DOM API and Frameworks you know, but in a Web Worker.
eventlet - Concurrent networking library for Python
preact-worker-demo - Demo of preact rendering an entire app in a Web Worker.
wp-partytown - Add partytown support to WordPress sites.