吕君喜 406d880ac6 first | 3 rokov pred | |
---|---|---|
.. | ||
index.js | 3 rokov pred | |
license | 3 rokov pred | |
package.json | 3 rokov pred | |
readme.md | 3 rokov pred |
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