pifi
Immediately invoked pify
Installation
npm install --save pifi
Usage
const pifi = const fs = { console await console const content = await console}
API
pifi(fn[, promiseModule]) => Promise
Immediately invoke fn
with a node-style callback, and return a promise that settles when the callback is called.