socket.io-jstrace
v0.0.2
Published
jstrace middleware for socket.io
Downloads
5
Readme
socket.io-jstrace
jstrace middleware for socket.io
Install
$ npm install --save socket.io-jstrace
Usage
var io = require('socket.io')()
, trace = require('jstrace')
, siotrace = require('socket.io-jstrace')
io.use(siotrace({
trace: trace
}))
io.on('connection', function(socket) {
})
Probes
socket.io:connection:start
socket connectedsocket.io:connection:end
socket disconnected
Tests
$ npm test
Coverage
$ npm run cover
License
MIT