anorgatarrak-wordpress-theme/node_modules/pinkie-promise
2018-02-23 01:59:35 +01:00
..
index.js Plugin Idiomas configurado con template en Angular 2018-02-23 01:59:35 +01:00
license Plugin Idiomas configurado con template en Angular 2018-02-23 01:59:35 +01:00
package.json Plugin Idiomas configurado con template en Angular 2018-02-23 01:59:35 +01:00
readme.md Plugin Idiomas configurado con template en Angular 2018-02-23 01:59:35 +01: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