UNPKG

@colyseus/uwebsockets-transport

Version:

<div align="center"> <a href="https://github.com/colyseus/colyseus"> <img src="media/logo.svg?raw=true" width="60%" height="300" /> </a> <br> <br> <a href="https://npmjs.com/package/colyseus"> <img src="https://img.shields.io/npm/dm/coly

31 lines (30 loc) 1.3 kB
var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); var src_exports = {}; __export(src_exports, { uWebSocketClient: () => import_uWebSocketClient.uWebSocketClient, uWebSocketsTransport: () => import_uWebSocketsTransport.uWebSocketsTransport }); module.exports = __toCommonJS(src_exports); var import_uWebSocketClient = require("./uWebSocketClient.js"); var import_uWebSocketsTransport = require("./uWebSocketsTransport.js"); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { uWebSocketClient, uWebSocketsTransport });