node-thenify

Promisify a callback-based function

Description

Some features of this module:
 - Preserves function names
 - Uses a native promise implementation if available and tries to fall back to
   a promise implementation such as bluebird
 - Converts multiple arguments from the callback into an Array, also support
   change the behavior by options.multiArgs
 - Resulting function never deoptimizes
 - Supports both callback and promise style
An added benefit is that thrown errors in that async function will be caught by the promise!

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/thenables/thenify


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-thenify