promisify-f
Turns a function that returns a future into a function that returns a promise.
install
npm install promisify-f
example
const promisify = const futureIncrement = { } const incrementAsync = //=> 8
Turns a function that returns a future into a function that returns a promise.
npm install promisify-f
const promisify = const futureIncrement = { } const incrementAsync = //=> 8
npm i promisify-f
6
1.0.2
CC0-1.0