q-superagent
A simple plugin for superagent to return promise generated by Q. Just use request.q() instead of request.end()
Installation
npm install --save-dev superagent q-superagent
Usage
var request = require('superagent');
require('q-superagent')(request);
or
GLOBAL.supervisor = require('superagent');
require('q-superagent'); // patch applied automatically.
Changes
1.0.1
If there is a superagent variable in global, apply this patch to it automatically.
License
MIT