promised-call
v1.0.0
Published
A minimalist Promise wrapper for node.js style callbacks
Downloads
2
Readme
promised-call
A minimalist Promise wrapper for node.js style callbacks.
Install
npm install callemo/promised-call
Usage
$ node
> var fs = require('fs');
undefined
> var promised = require('promised-call');
undefined
> promised(fs, 'readFile', ['/etc/passwd']);
Promise { <pending> }
>