Skip to content
JS
Package category

Polyfills and shims

Backfill missing language and platform features.

622 packages2 comparisons

Packages compared

622 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
babel-es6-polyfill
A pure ES6/ES2015 polyfill for Babel that only includes standardised features
1.1k+105%-10 years ago
1.1.0
CommonJSNonePolyfills and shims
hyperellipse
Transparent polyfill for CSS corner-shape — squircles, superellipses, scoops, notches, and per-corner mixes
1k--3 months ago
1.0.5
ESM + CommonJSBundledPolyfills and shims, CSS-in-JS and styling
innersvg-polyfill
innerHTML polyfill for SVGElement
901----
0.0.5
CommonJSNonePolyfills and shims
bootstrap-ie11
Bootstrap 5 for Internet Explorer 11
789----
5.3.7
CommonJSNonePolyfills and shims, UI component libraries
rangeslider-pure
Simple, small and fast vanilla JavaScript polyfill for the HTML5 <input type="range"> slider element
737----
0.5.0
ESM + CommonJSBundledPolyfills and shims
string.padstart
polyfill for es8 String.prototype.padStart
649----
0.1.1
CommonJSNonePolyfills and shims
eligrey-classlist-js-polyfill
Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
641----
1.2.20180112
CommonJSNonePolyfills and shims
eligrey-classlist.js
Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
506----
1.2.20180112
CommonJSNonePolyfills and shims
selectivizr
selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.
396----
1.0.3
CommonJSNonePolyfills and shims
litepicker-polyfills-ie11
Litepicker polyfills ie11
333----
0.0.1
CommonJSNonePolyfills and shims
respimage
The fast, lightweight and reliable polyfill for responsive images (i.e. picture element and the srcset, sizes and media attributes). With a smart resource selection algorithm, that saves bandwidth.
298----
1.4.2
CommonJSNonePolyfills and shims
symbol-es6
ES6 Symbol polyfill in pure ES5
254----
0.1.2
CommonJSNonePolyfills and shims
globalthis-polyfill
Polyfill foe globalThis
245----
1.0.0
CommonJSNonePolyfills and shims
webstorage-polyfill
A browser polyfill for localStorage and sessionStorage
135----
1.0.1
CommonJSNonePolyfills and shims
multirange
A tiny polyfill for HTML5 multi-handle sliders
115----
2.0.0
CommonJSNonePolyfills and shims
fitie
An object-fit polyfill for Internet Explorer
74----
1.0.0
CommonJSNonePolyfills and shims
jquery-sse
jQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill
47----
0.1.5
CommonJSNoneWebSockets and realtime, Polyfills and shims
findindex_polyfill_mdn
Array.prototype.findIndex polyfill from MDN website
45----
1.0.0
CommonJSNonePolyfills and shims
es-promise
Promise implementation of Promises/A+, and with es7 promise enhancements.
23----
1.0.3
ESM + CommonJSNonePromises and async control flow, Polyfills and shims
gumadapter
getUserMedia shim/polyfill via: https://github.com/webrtc/adapter
20----
1.0.1
CommonJSNonePolyfills and shims
polyfill-object-assign
A polyfill to add the Object.assign method to browsers which can't unterstand it
18----
1.0.0
CommonJSNonePolyfills and shims
selectlist-polyfill
Polyfill for the selectlist element
12----
0.3.0
ESM onlyNonePolyfills and shims

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • babel-es6-polyfillA pure ES6/ES2015 polyfill for Babel that only includes standardised features
  • hyperellipseTransparent polyfill for CSS corner-shape — squircles, superellipses, scoops, notches, and per-corner mixes
  • innersvg-polyfillinnerHTML polyfill for SVGElement
  • bootstrap-ie11Bootstrap 5 for Internet Explorer 11
  • rangeslider-pureSimple, small and fast vanilla JavaScript polyfill for the HTML5 <input type="range"> slider element
  • string.padstartpolyfill for es8 String.prototype.padStart
  • eligrey-classlist-js-polyfillCross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
  • eligrey-classlist.jsCross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
  • selectivizrselectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.
  • litepicker-polyfills-ie11Litepicker polyfills ie11
  • respimageThe fast, lightweight and reliable polyfill for responsive images (i.e. picture element and the srcset, sizes and media attributes). With a smart resource selection algorithm, that saves bandwidth.
  • symbol-es6ES6 Symbol polyfill in pure ES5
  • globalthis-polyfillPolyfill foe globalThis
  • webstorage-polyfillA browser polyfill for localStorage and sessionStorage
  • multirangeA tiny polyfill for HTML5 multi-handle sliders
  • fitieAn object-fit polyfill for Internet Explorer
  • jquery-ssejQuery Plugin for Server-Sent Events (SSE) EventSource Polyfill
  • findindex_polyfill_mdnArray.prototype.findIndex polyfill from MDN website
  • es-promisePromise implementation of Promises/A+, and with es7 promise enhancements.
  • gumadaptergetUserMedia shim/polyfill via: https://github.com/webrtc/adapter
  • polyfill-object-assignA polyfill to add the Object.assign method to browsers which can't unterstand it
  • selectlist-polyfillPolyfill for the selectlist element