Bakhtina Sofya b84cb877be 1st comm | vor 3 Wochen | |
---|---|---|
.. | ||
index.js | vor 3 Wochen | |
license | vor 3 Wochen | |
package.json | vor 3 Wochen | |
readme.md | vor 3 Wochen |
ES2015 Promise ponyfill
Module exports global Promise object (if available) or pinkie
Promise polyfill.
$ npm install --save pinkie-promise
var Promise = require('pinkie-promise');
new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }
MIT © Vsevolod Strukchinsky