Package Exports
- pinkie-promise
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pinkie-promise) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pinkie-promise 
ES2015 Promise ponyfill
Module exports global Promise object (if available) or pinkie Promise polyfill.
Install
$ npm install --save pinkie-promiseUsage
var Promise = require('pinkie-promise');
new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }Related
- pify - Promisify a callback-style function
License
MIT © Vsevolod Strukchinsky