crabdude

crabdude/ascallback

Use bluebird's nodeify method as a function on non-bluebird promises.

JavaScript
2
2
MIT License

`asCallback` is a small utility that allows developers to convert any JavaScript promise (not just Bluebird's) into a Node.js-style callback function. It adapts Bluebird's `promise.asCallback()` method for use with promises from other libraries, making it easier to integrate promise-based code into callback-driven Node.js APIs or libraries. This tool is primarily for Node.js developers working with mixed promise/callback code

Total donated
Undistributed
Share with your subscribers: