How can I use Superagent but with the Promises A+ spec? I'm working on a project that uses both Superagent and Bluebird and I would like to use the .then()
syntax but can't figure out an easy way to do this without writing my own wrapper code.
I see this project but don't want to have to use the .promise() on each call.
Are there any other existing modules which make it look more like Bluebird?
Something more like -
var request = ('superagent-wrapperModule');
request.get(url).then(..).catch(...)
[EDIT] I've actually made a module to do this the way I'd prefer (similar to above example).
If anyone's interested - github link and npm link