This is a port of Taylor's Hakes promise-polyfill for use with iMacros and Browserify.
Node
npm install imacros-promise-polyfill
Simple usage
var Promise = ; var promise = { // do a thing, possibly async, then… if /* everything turned out fine */ ; else ; }; // Do something when async donepromise;
License
MIT