Module for patching JS Classes using callbacks to use Q promises

npm install qpatch
10 downloads in the last day
166 downloads in the last week
569 downloads in the last month


"Patch" JS Classes using node's std callbacks to use Q promises


var qClass = require('qpatch');

var newClass = qClass(someOldClass, ['methods_to_exclude', '...']);

// newClass' methods now return promises instead of accepting callbacks
npm loves you