Cweili / pinkie-polyfill

ES2015 Promise polyfill by pinkie with globally assignment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pinkie-polyfill

npm npm npm npm

github travis codecov

ES2015 Promise polyfill by pinkie with globally assignment.

Install

NPM

npm install req-json --save

ES modules for Webpack 2+ or Rollup

import 'pinkie-polyfill';

CommonJS for Webpack 1 or Browserify

require('pinkie-polyfill');

Browser

Direct <script> include

<script src="https://cdn.jsdelivr.net/npm/pinkie-polyfill"></script>

Basic Usage

A Promise is an object representing the eventual completion or failure of an asynchronous operation. See full documents.

About

ES2015 Promise polyfill by pinkie with globally assignment.

License:MIT License


Languages

Language:JavaScript 100.0%