cosjs
v4.4.0
Published
nodejs game server framework
Downloads
28
Maintainers
Readme
cosjs - a node.js http & socket server
This is a web http & socket for node.js. easy to create web or mobile game server.
Install with:
npm install cosjsUsage
Simple example, included as demo/index.js:
var cosjs = require('cosjs');
var config = require('./config');
cosjs.http(config);
cosjs.start(); var root = __dirname;
exports = module.exports = {
port : 80,
fnum : 0,
shell : root+'/process/http',
}Demo
demo/index.js
