socketio-chat-server
v1.0.0
Published
Socketio chatserver
Downloads
1
Readme
Socketio chat server
This is a simple chat server built with socket.io
Usage
import Chat from 'socketio-chat-server'
...
// You must set a port
new Server(port)
// Aaaand its running
I am not going to describe events just because you are not going to use this package. And you should not, believe me.
Testing
npm test
Environment
You can set DBWEBB_SOCKETIO_PORT to test server on whatever port you like. Defaults to 1340 otherways.