Socket is an extensible TCP server framework for node, shipping with several bundled middleware modules.
var socket = require('socket');
socket.createServer(
socket.profiler(),
socket.echo()
).listen(3357);
$ npm install socket
- echo simple echo server
- json application/json parser
- profiler per-request time and memory profiler
- errorHandler flexible error handler
Socket is built on the ideas and code found in https://github.com/senchalabs/connect/.