npmjs.org : @dandre3000/is-main-thread
Check if javascript code is running in the main thread or in a worker thread. This module is compatible with web browsers, bun, deno and node.js.
Registry
-
Source
- Homepage
- JSON
- codemeta.json
purl: pkg:npm/%40dandre3000/is-main-thread
Keywords:
isMainThread
, threads
, Worker
, worker_threads
License: MIT
Latest release: 4 months ago
First release: 11 months ago
Namespace: dandre3000
Downloads: 111 last month
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago