unboundedpress/node_modules/co-with-promise/node_modules/pinkie-promise
2019-07-23 04:28:47 +00:00
..
index.js initial commit 2019-07-23 04:28:47 +00:00
license initial commit 2019-07-23 04:28:47 +00:00
package.json initial commit 2019-07-23 04:28:47 +00:00
readme.md initial commit 2019-07-23 04:28:47 +00:00

pinkie-promise Build Status

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