Bakhtina Sofya b84cb877be 1st comm | vor 1 Monat | |
---|---|---|
.. | ||
index.js | vor 1 Monat | |
license | vor 1 Monat | |
package.json | vor 1 Monat | |
readme.md | vor 1 Monat |
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