XuelesszzZ 94af2b8e7b 6-30-5 hai 1 ano
..
index.js 94af2b8e7b 6-30-5 hai 1 ano
license 94af2b8e7b 6-30-5 hai 1 ano
package.json 94af2b8e7b 6-30-5 hai 1 ano
readme.md 94af2b8e7b 6-30-5 hai 1 ano

readme.md

pinkie-promise Build Status

ES2015 Promise ponyfill

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' }

Related

  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky