Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | 7 lat temu | |
---|---|---|
.. | ||
index.js | 7 lat temu | |
license | 7 lat temu | |
package.json | 7 lat temu | |
readme.md | 7 lat temu |
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