penpal

Penpal simplifies communication with iframes, workers, and windows by using promise-based methods on top of postMessage.
v7.0.4 URL: https://unpkg.com/penpal@7.0.4
OpenBrowse Files
postMessagecommunicationpromiseiframeiframesworkerworkersweb-workerweb-workersshared-workershared-workersservice-workerservice-workersportmessage-portmessage-channelwindowwindows

@powertoys/relay

Tab 2 tab communication on web applications
v1.3.0 URL: https://unpkg.com/@powertoys/relay@1.3.0/dist/index.js
OpenBrowse Files
cross-tabcommunicationshared-workertypescriptreact

@trans.eu/shared-cache

Cache that can be accessed from several browsing contexts (based on SharedWorker API)
v1.1.0 URL: https://unpkg.com/@trans.eu/shared-cache@1.1.0/sharedCache.js
OpenBrowse Files
cachesharedCacheshared-cachecache-sharedcache sharingworkersharedSharedWorkershared-worker

@r_wohl/web-channel-message

A light weight type-safe library for communicating via the Channel Message Web API
v3.0.2 URL: https://unpkg.com/@r_wohl/web-channel-message@3.0.2/dist/index.js
OpenBrowse Files
workershared-workerweb-apitypescript

js-runtime-environment

Identify which JavaScript environment your code is running in at runtime — Browser, Node.js, Bun, Deno, Electron, Workers, etc
v1.0.0 URL: https://unpkg.com/js-runtime-environment@1.0.0/js-runtime-environment.js
OpenBrowse Files
runtime detectionruntime detectorruntimeenvironmentenvexecutionengineplatformcontextjsjavascriptischeckcheckingdetectdetectionbrowsernodebundenoelectronjsdomwebworkerworkerserviceworkermacosiosiphoneipadwindowslinuxandroidosoperatingsystemnwjsreact-nativeedgevercelcloudflareedge-runtimeworkletdedicated-workershared-workeruniversalcross-platformcross-runtimecompatibilityportableexecution-contextenv-detectruntime-detectruntime-check