Nova-Client/Solar/Launcher/node_modules/pinkie-promise
2023-03-19 19:32:58 +00:00
..
index.js !! 2023-03-19 19:32:58 +00:00
license !! 2023-03-19 19:32:58 +00:00
package.json !! 2023-03-19 19:32:58 +00:00
readme.md !! 2023-03-19 19:32:58 +00:00

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