piral-ie11polyfills-utils
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

Piral Logo

Piral IE11 Polyfills Utils · GitHub License npm version tested with jest Gitter Chat

This is a utility library that can be used to make a Piral instance IE11 compatible.

What piral-ie11polyfills-utils offers is a set of polyfills making all JS calls work even in older browser such as IE11.

Installation

This should only be installed as a dependency (dependencies).

If you'd love to use yarn:

yarn add piral-ie11polyfills-utils

Alternatively, npm works reliably, too:

npm i --save piral-ie11polyfills-utils

Usage

The polyfills are just imported as first statement in your index.tsx (or root module) of your Piral instance.

import 'piral-ie11polyfills-utils';

Polyfills

The package comes with the following polyfills:

  • standard JS API polyfills (core-js/stable)
  • Promise API (promise-polyfill/lib/polyfill)
  • URL API (url-polyfill)
  • fetch API (whatwg-fetch)
  • document.currentScript support (current-script-polyfill)

License

Piral is released using the MIT license. For more information see the license file.

Package Sidebar

Install

npm i piral-ie11polyfills-utils

Homepage

piral.io

Weekly Downloads

7

Version

1.3.3

License

MIT

Unpacked Size

5.65 kB

Total Files

10

Last publish

Collaborators

  • florianrappl