1.0.0 • Published 8 years ago
bth-socketio-chat v1.0.0
Socketio broadcast server
This is a simple chat/broadcast server built with socket.io
Usage
import Server from 'bth-socketio-chat'
...
// You must set a port
new Server(port)
// Aaaand its runningI am not going to describe events just because you are not going to use this package. And you should not, believe me.
Testing
npm testEnvironment
You can set DBWEBB_SOCKETIO_PORT to test server on whatever port you like. Defaults to 1340 otherways.
1.0.0
8 years ago

