restler-q
v0.1.1
Published
Q Wrapper for Restler
Downloads
82
Maintainers
Readme
restler-q
(C) Andrew Newdigate (@suprememoocow), Licensed under the MIT-LICENSE
An extremely simple Q promises wrapper for Don Wrong's Restler library.
Installing
npm install restler-q
Using
The interface is similar to Restler's interface:
var rest = require('restler-q');
rest.get('https://api.github.com/orgs/Troupe/repos')
.then(function(repos) {
assert(Array.isArray(repos));
})
.nodeify(done);
Running the tests
npm install
make test
TODO
- Provide ability to call
abort
andretry
methods.