UNPKG

@socketsupply/socket

Version:

A Cross-Platform, Native Runtime for Desktop and Mobile Apps — Create apps using HTML, CSS, and JavaScript. Written from the ground up to be small and maintainable.

17 lines (13 loc) 387 B
import { SharedWorker } from './shared-worker/index.js' import { Environment } from './shared-worker/env.js' /** * A reference to the opened environment. This value is an instance of an * `Environment` if the scope is a ServiceWorker scope. * @type {Environment|null} */ export const env = Environment.instance export { Environment, SharedWorker } export default SharedWorker