koa-request
Very simple wrapper to the request library for use in koa.
Wraps the request lib as thunk-returning functions for use in kao's middleware generator-functions.
To install simply run:
npm install koa-request
Require koa first and will only work on node v0.11.7 or newer.
You must run node with --harmony flag (--harmony-generators works as well)
node --harmony example.js
Simple example using koa-request in koa:
var koa = ;var request = ; var app = ; app; app;