0.0.2 • Published 10 years ago

socket.io-jstrace v0.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

socket.io-jstrace

jstrace middleware for socket.io

build status

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 connected
  • socket.io:connection:end socket disconnected

Tests

$ npm test

Coverage

$ npm run cover

License

MIT

0.0.2

10 years ago

0.0.1

10 years ago