1.0.0 • Published 12 years ago

safesocket v1.0.0

Weekly downloads
3
License
-
Repository
github
Last release
12 years ago

safesocket

Wraps socket.io event handlers to prevent crashes from certain malicious inputs.

Usage

var safesocket = require('safesocket');

socket.on('ping', safesocket(function (args, callback) {
    console.log('Pinged from ' + args.name);
    callback('pong');
}));

License

The MIT License (MIT)

1.0.0

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago