Website/node_modules/pinkie-promise
2015-12-04 02:31:39 -05:00
..
index.js Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
license Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
package.json Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
readme.md Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05: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