promised-call

v1.0.0
A minimalist Promise wrapper for node.js style callbacks
node callback promise async

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> }
>
npm i promised-call

Metadata

  • MIT
  • Whatever
  • Carlos Johnson
  • released 10/14/2015

Downloads

Maintainers