var spread = require('spread');
var sp = spread.createConnection('username', 4803, 'localhost');
sp.on('message', function(channel, message){ console.log(message); });
sp.on('logined', function(){ sp.join('TEST'); });
var spread = require('spread');
var sp = spread.createConnection('username', 4803, 'localhost');
sp.on('message', function(channel, message){ console.log(message); });
sp.on('logined', function(){ sp.join('TEST'); });
npm i spread
3
0.0.1
none