lobby-server
A small wrapper around websockets that handles realtime connections to online lobbies. The lobby-client is used to connect clients to lobbies on this server.
Installation
npm install lobby-server
Usage
// Create a Node.js HTTP server (with Express in this case)const app = ;const http = ; // Start the socket.io server that handles websocket requests from the clienthttp; // Listen on a port. This port must be specified when connecting with the client.http;
Contributing
Pull requests are welcome. An issue can be opened for larger changes.