node-pify

promisify a callback-style function
  https://github.com/sindresorhus/pify
  0
  no reviews



Pify permits ont to transform a callback-style function into a promise-style function. In comparison with builtin function `util.promisify`, pify is faster, supports wrapping a whole module/object, has useful options and does have a magic behavior for certain Node.js methods.