Abstracting different transports (http/websockets) and libraries to a unite them all.
Usage
var api = var router = api; //attach your universal routesrouter; var app = server = http io = socketIO; //with connect/express appalamidRequest; //with http.ServeralamidRequest; //with socket.ioalamidRequest;
Plugins
Enhanced Response
api;
API
- res.send(statusCode?, response)
- res.success(data)
- res.fail(code)
- res.error(code)
Browser Integration Tests
Use testling to run the integration test in your favourite browser.
Examples
- Google Chrome on OSX
./node_modules/.bin/testling -x /usr/bin/open -a "/Applications/Google Chrome.app"
- Default browser on OSX
./node_modules/.bin/testling -u