0.0.2 • Published 10 years ago
restler-when v0.0.2
NOTE
This library is a fork of Troupe's restler-q, but using when instead.
Installing
npm install restler-when
Using
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);
Running the tests
npm install
make test