Proxmis.js
Proxmis is a very simple library to generate promises that can be used directly as typical two argument, error first, node.js callbacks.
Node.js
To install:
npm install proxmis
To use:
var proxmis = ;
Usage
var proxmis = ;var fs = ;var callback = ; fs; callback;
The first argument on proxmis()
can optionally be another callback to be invoked before the promise resolves, or an object containing extra options for how the promise will be resolved.
{ var prox = ; fs; return prox;}
var prox = ;;prox;
var prox = ;;prox;
Proxmis also provides a routine for wrapping a traditional call in a closure, directly returning a promise.
proxmis;
Proxmis uses the ES6 Promise Polyfill to generate the promise it returns.