qpatch

0.0.8 • Public • Published

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
 

Package Sidebar

Install

npm i qpatch

Weekly Downloads

7

Version

0.0.8

License

Apache v2

Last publish

Collaborators

  • aarono