XuelesszzZ 94af2b8e7b 6-30-5 1 gadu atpakaļ
..
index.js 94af2b8e7b 6-30-5 1 gadu atpakaļ
license 94af2b8e7b 6-30-5 1 gadu atpakaļ
package.json 94af2b8e7b 6-30-5 1 gadu atpakaļ
readme.md 94af2b8e7b 6-30-5 1 gadu atpakaļ

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