keksAccountGUI/node_modulesOLD/pinkie-promise
Kekskurse 8e5ce9e324 Update Framework 2019-08-11 20:48:02 +02:00
..
index.js Update Framework 2019-08-11 20:48:02 +02:00
license Update Framework 2019-08-11 20:48:02 +02:00
package.json Update Framework 2019-08-11 20:48:02 +02:00
readme.md Update Framework 2019-08-11 20:48:02 +02:00

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' }
  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky