IOKI / restler-bluebird

Q promises wrapper for Restler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

restler-bluebird

Based on Andrew Newdigate reslter-q

Installing

npm install restler-bluebird --save

Using

The interface is similar to Restler's interface:

var rest = require('restler-bluebird');

rest.get('https://api.github.com/orgs/Troupe/repos')
  .then(function(repos) {
    assert(Array.isArray(repos));
  })
  .nodeify(done);

Running the tests

npm install
npm test

About

Q promises wrapper for Restler

License:MIT License


Languages

Language:JavaScript 97.8%Language:Makefile 2.2%