GitShow/developit/workerize
developit

workerize

๐Ÿ—๏ธ Run a module in a Web Worker.

by developit
threadingweb-workerweb-workers
Star on GitHubForkWebsitenpm

JavaScript

4.4k stars88 forks9 contributorsQuiet ยท 5y agoSince 20180.1.7

Meet the team

See all 9 on GitHub โ†’
developit
developit50 contributions
greenkeeper[bot]Bot
greenkeeper[bot]3 contributions
boblauer
boblauer1 contribution
danielbayerlein
danielbayerlein1 contribution
DanielRuf
DanielRuf1 contribution
HopefulLlama
HopefulLlama1 contribution
RichieAHB
RichieAHB1 contribution
aminbenselim
aminbenselim1 contribution

Languages

View on GitHub โ†’
JavaScript86.9%
HTML13.1%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

1 of 6 standards met

Community profile โ†’
28
โœ“READMEโ—‹Licenseโ—‹Contributingโ—‹Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท 5 in progress ยท Last activity 5y ago
See all on GitHub โ†’
saschanaz
Accept a module path instead of code string?OpenIssue

It seems this library current accepts code string (and somehow tries to convert it to CommonJS ๐Ÿค”) but can it accept a module path? I guess it should be possible to generate a code to import the module from the given path.

saschanaz ยท 3y ago
dbkaplun
Feature: worker poolingOpenIssue

Hello, It would be great if I could create a pool of workers. That way, parallelizing hot paths could be completely abstracted using . Considerations: To implement worker pooling, a worker may have to know when another worker is busy, so it can handle take over handling new requests until becomes busy itself Since workers independently manage memory, they would all have to run the same code, and there would have to be a way to run a function on all workers simultaneously in order to share state It will be interesting to see what we will need to do for this. Would you accept a PR? Thanks for considering!

dbkaplun ยท 5y ago
jzyzxx
Whether the thread pool idea was introduced?OpenIssue

Whether the thread pool idea was introduced?The thread pool is a good idea to Improve efficiency

jzyzxx ยท 5y ago

Recent fixes

View closed PRs โ†’
nicholas-brandt
MIME type of blobMergedPR

Trying to use a "module"-type worker results in MIME type rejection:

nicholas-brandt ยท 8mo ago
Structured data for AI agents

Repository: developit/workerize. Description: ๐Ÿ—๏ธ Run a module in a Web Worker. Stars: 4376, Forks: 88. Primary language: JavaScript. Languages: JavaScript (86.9%), HTML (13.1%). Homepage: https://github.com/developit/workerize-loader Topics: threading, web-worker, web-workers. Latest release: 0.1.7 (8y ago). Open PRs: 5, open issues: 13. Last activity: 5y ago. Community health: 28%. Top contributors: developit, greenkeeper[bot], boblauer, danielbayerlein, DanielRuf, HopefulLlama, RichieAHB, aminbenselim, dnakov.

ยท@ofershap

Replace github.com with gitshow.dev