Un-thenify
Callbackify a promise function. The logical reverse of
thenify
.
Installation
npm install unthenify --save
Usage
Wrap a function that usually returns a promise to accept callbacks.
const handler = // Use with callback-style.
License
Apache 2.0