|
||
---|---|---|
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
readme.md
pinkie-promise ![Build Status](https://travis-ci.org/floatdrop/pinkie-promise.svg?branch=master)
ES6 Promise ponyfill
Ponyfill: A polyfill that doesn't overwrite the native method
Module exports global Promise object (if available) or pinkie
Promise polyfill.
Install
$ npm install --save pinkie-promise
Usage
var Promise = require('pinkie-promise');
new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }
License
MIT © Vsevolod Strukchinsky