Skip to content

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

License

Notifications You must be signed in to change notification settings

FriendCode/qpatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published