Adds Room / Namespace layer on top of WebSocket-Node in node.js. This library was created because I like API but I ran into multiple issues when using it in production environment.

simplesocket-server together with simplesocket-client can interact with each other in a similar fashion to client and server.

npm install simplesocket-server
// supports any http server including express 
var server = require("simplesocket-server").listen(httpServer);
server.on('connect', function (socket) {
  // trigger 'news' event  
  socket.trigger('news', { hello: 'world' });
  socket.on('eventName', function (data) {
  // join specific room 
  // send data to all clients in given room'roomName').trigger('eventName', { 'key': 'value' });


The MIT License