Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi il y a 7 ans
..
index.js 0611418f7a added whole system from ola4doc il y a 7 ans
license 0611418f7a added whole system from ola4doc il y a 7 ans
package.json cefd1c2ad0 updated sys and created publi il y a 7 ans
readme.md 0611418f7a added whole system from ola4doc il y a 7 ans

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