Promisify functions in a given object
The recommended way to install promisify-object
is as a dependency of a project:
npm install --save promisify-object
Promisify methods of a given object:
const fs = require('fs')
const promisify = require('promisify-object')
promisify(fs, ['mkdir', 'readFile'])
Any contribution is more than welcome. In particular, if: