@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) • 350 B
JavaScript
import channels from './channels.js'
import window from './window.js'
import runtime from './runtime.js'
import * as exports from './index.js'
export default exports
export { channels, window, runtime }
/**
* @param {string} name
* @return {import('./channels.js').Channel}
*/
export function channel (name) {
return channels.channel(name)
}