Innovenergy_trunk/frontend/node_modules/which-promise/node_modules/pinkie-promise
Kim 085d7c68ba adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
..
index.js adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
license adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
package.json adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00
readme.md adding untracked frontend and typescript files 2023-02-21 07:27:20 +01:00

readme.md

pinkie-promise Build Status

ES6 Promise ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

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' }

License

MIT © Vsevolod Strukchinsky