common-node
common-node copied to clipboard
Synchronous CommonJS compatibility layer using node-fibers
I'm looking at the example you provided ``` js var HttpClient = require('common-node').httpclient.HttpClient; exports.app = function(request) { return { status: 200, headers: {}, body: new HttpClient({ url: 'http://google.com' }).finish().body };...
Whenever I try to use HttpClient, I always get this error TypeError: Cannot call method 'request' of undefined at HttpClient.connect (/usr/lib/node_modules/common-node/lib/httpclient.js:206:37) at HttpClient.finish (/usr/lib/node_modules/common-node/lib/httpclient.js:252:15) at get (/home/bads/apps/x/np/gitf/gitf.js:33:10) at /home/bads/apps/x/np/gitf/gitf.js:42:16 at...
This is first commit in this pull request, nothing important. The background. I would be happy to use both type of configuration: via command-line or via hash parameter. I use...
Using http://coveralls.io
E.g. "wx" mode is currently not possible, although it is supported by Node.
http://ringojs.org/api/master/ringo/worker/ ... using Node cluster perhaps. /cc @alexlamsl