promises-promises
Wrap functions that use node-style callbacks (function (err, res)
) in a q.js-style promise.
var promise = ; // Ew!; // :); // now your callback function can be part of a promise chain!anotherPromise;
Enjoy.
Wrap functions that use node-style callbacks (function (err, res)
) in a q.js-style promise.
var promise = ; // Ew!; // :); // now your callback function can be part of a promise chain!anotherPromise;
Enjoy.
npm i promises-promises
0
0.0.5
MIT