Promise-CB
Promise-callback helper functions.
fromCallback
Creates a Promise from a callback-style function.
Example:
;
toCallback
Calls a callback function with the result of a promise once it settles.
Example:
;
Promise-callback helper functions.
Creates a Promise from a callback-style function.
Example:
;
Calls a callback function with the result of a promise once it settles.
Example:
;
npm i promise-cb
332
0.1.4
ISC