@masx200/ie11-usual-polyfills

1.0.5 • Public • Published

ie11-usual-polyfills

介绍

常用的 IE11 的 polyfills

包含了以下polyfills

@babel/polyfill

regenerator-runtime/runtime,core-js/stable

es2015,es2016,es2017,es2018

es2019,es2021

Element.prototype.remove

Array.prototype.flat

CustomEvent,Event

EventTarget

fetch,Headers,Response,Request

NodeList.prototype.forEach

Object.fromEntries

URLSearchParams,URL

安装教程

直接从 cdn 导入

https://cdn.jsdelivr.net/npm/@masx200/ie11-usual-polyfills/dist/index.js

或者

https://unpkg.zhimg.com/@masx200/ie11-usual-polyfills/dist/index.js

本地安装

yarn add @masx200/ie11-usual-polyfills

使用说明

require("@masx200/ie11-usual-polyfills");

或者

import "@masx200/ie11-usual-polyfills";

Readme

Keywords

none

Package Sidebar

Install

npm i @masx200/ie11-usual-polyfills

Weekly Downloads

1

Version

1.0.5

License

ISC

Unpacked Size

1.23 MB

Total Files

25

Last publish

Collaborators

  • masx200