This library is a fork of Troupe's restler-q, but using when instead.
npm install restler-when
The interface is similar to Restler's interface:
var rest = require('restler-when');
rest.get('https://api.github.com/orgs/Troupe/repos')
.then(function(repos) {
assert(Array.isArray(repos));
})
.then(done);
npm install
make test