promiseify / promisify / promise-ify / pify
MIT License
promiseify / promisify / promise-ify / pify
this is target ES5 environment.
$ npm i promise.ify --save
var promiseify = require('promise.ify')
var readFile = promiseify(fs.readFile, fs)
var Connection = require('mysql/lib/Connection')
promiseify.all(Connection.prototype)
take care of the callback(result)
case
for split things out of bluebird
the MIT License http://magicdawn.mit-license.org