callback2promise
Converts functions with node style callbacks to promise (es6)
installation
npm install callback2promise --save
usage
var c2p = ; // ordinary function with any number of parameters and a callback at the endvar { ;} // convert the function to a promisevar promise = param1 param2; promise ;