1.0.0 • Published 10 years ago

safesocket v1.0.0

Weekly downloads
3
License
-
Repository
github
Last release
10 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

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago