UNPKG
@chainsafe/threads
Version:
latest (1.11.3)
1.11.3
1.11.2
1.11.1
1.11.0
1.10.0
1.9.0
1.8.0
Web workers & worker threads as simple as a function call
threads.js.org
andywer/threads.js
@chainsafe/threads
/
dist-esm
/
worker
/
bundle-entry.js
9 lines
(8 loc)
•
189 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ expose }
from
"./index"
;
export
*
from
"./index"
;
if
(
typeof
global
!==
"undefined"
) {
global
.
expose
= expose; }
if
(
typeof
self !==
"undefined"
) { self.
expose
= expose; }