qpatch

Module for patching JS Classes using callbacks to use Q promises

npm install qpatch
47 downloads in the last day
154 downloads in the last week
586 downloads in the last month

qpatch

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

Example

var qClass = require('qpatch');

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

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