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
stickyfilljs
Polyfill for CSS `position: sticky`
30.5k+3%-8 years ago
2.1.0
CommonJSBundledPolyfills and shims
@esri/arcgis-rest-fetch
This package exists to expose the `node-fetch` package in a consistent way for both Node JS 12.16+ and various bundlers with consistent TypeScript types based on the browser types.
30.4k---1 month ago
4.11.0
ESM + CommonJSBundledPolyfills and shims
ts-polyfill
Runtime polyfills for TypeScript libs, powered by core-js!
29.3k+44%-6 years ago
3.8.2
CommonJSBundledPolyfills and shims, TypeScript tooling
webworker-shim
A tiny shim for WebWorker (data URI only) that works in Node.
29.1k-9%-1 year ago
1.1.4
ESM onlyBundledPolyfills and shims
@esri/arcgis-rest-form-data
This package exists to expose the `formdata-node` package in a consistent way for both Node JS 12.16+ and various bundlers with consistent TypeScript types based on the browser types.
28.1k---1 month ago
4.11.0
ESM + CommonJSBundledPolyfills and shims
set.prototype.union
An ESnext spec-compliant `Set.prototype.union` shim/polyfill/replacement that works as far down as ES3
27.8k+373%-2 years ago
1.1.3
CommonJSNonePolyfills and shims
fetch-readablestream
Compatibility layer for efficient streaming of binary data using [WHATWG Streams](https://streams.spec.whatwg.org/)
27.2k+65%-7 years ago
0.2.0
CommonJSNonePolyfills and shims
string.prototype.at
An ES-spec-compliant (proposed) String.prototype.at shim/polyfill/replacement that works as far down as ES3
26.9k+254%-2 years ago
1.0.6
CommonJSNonePolyfills and shims, Strings and text
@ungap/from-entries
An Object.fromEntries polyfill
26.9k---6 years ago
0.2.1
ESM onlyNonePolyfills and shims
sugar-core
Core module for the Sugar Javascript utility library.
26.5k-45%-7 years ago
2.0.6
CommonJSBundledUtility libraries, Polyfills and shims
@textlint/get-config-base-dir
Context#getConfigBaseDir ponyfill for textlint ^8.x.x
26.1k---8 years ago
2.0.0
CommonJSNonePolyfills and shims
@moq/web-socket-stream
A WebSocketStream polyfill: a plain WebSocket wrapped as { readable, writable } streams with backpressure
25.6k---2 months ago
0.1.1
ESM onlyBundledPolyfills and shims, WebSockets and realtime
mq-polyfill
CSSOM-valid and jsdom/Jest-compatible matchMedia polyfill for server-side unit tests
24.5k-32%-9 years ago
1.1.8
CommonJSNonePolyfills and shims
details-element-polyfill
HTML <details> element polyfill
24.4k+18%-7 years ago
2.4.0
CommonJSNonePolyfills and shims
string.prototype.endswith
A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.
23.9k-30%-2 years ago
1.0.2
CommonJSNonePolyfills and shims
postcss-object-fit-images
PostCSS plugin that updates the standard object-fit tag to work with the object-fit-images polyfill for browsers that do not natively support object-fit.
23.5k+32%-10 years ago
1.1.2
-NoneCSS-in-JS and styling, Polyfills and shims
map-like
ECMAScript Map like object.
23.5k+46%-9 years ago
2.0.0
CommonJSBundledPolyfills and shims
date-time-format-timezone
Surgically polyfills timezone support in Intl.DateTimeFormat API
23.2k-42%--
1.0.22
CommonJSNoneDate and time, Polyfills and shims
react-native-polyfill-globals
Polyfills and patches missing or partially supported web and core APIs
23k+21%-5 years ago
3.1.0
CommonJSNonePolyfills and shims, React
flexibility
A JavaScript polyfill for Flexbox
22.1k-38%-10 years ago
2.0.1
CommonJSNonePolyfills and shims
postcss-flexibility
PostCSS plugin for Flexibility polyfill
22k-34%-5 years ago
3.0.0
CommonJSNoneCSS-in-JS and styling, Polyfills and shims
@rexxars/eventsource-polyfill
A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)
21.8k---6 years ago
1.0.0
CommonJSNonePolyfills and shims
react-anchor-link-smooth-scroll
React component for anchor links using the smoothscroll polyfill.
21.7k-9%-7 years ago
1.0.12
CommonJSNonePolyfills and shims, React
@expo/match-media
Universal polyfill for match media API using Expo APIs on mobile
21.4k---3 years ago
0.4.0
CommonJSBundledCSS-in-JS and styling, React
object.entries-ponyfill
`Object.entries()` ponyfill
21.1k-36%-9 years ago
1.0.1
CommonJSNonePolyfills and shims
babel-plugin-array-includes
Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.
20.7k-7%-10 years ago
2.0.3
CommonJSNonePolyfills and shims
js-polyfills
Collection of Web polyfills.
20.4k+38%--
0.1.43
CommonJSNonePolyfills and shims
random-poly-fill
A polyfill for crypto.randomFill and crypto.randomFillSync from Node.js core
19.4k+12%-7 years ago
1.0.1
CommonJSNoneCryptography and hashing, Polyfills and shims
dimport
Run ES Module syntax in any browser – even IE!
18.9k-9%-7 years ago
1.0.0
ESM + CommonJSNonePolyfills and shims
element-matches
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
18.5k-36%-8 years ago
0.1.2
CommonJSNonePolyfills and shims
object_values
polyfill for es8 Object.values
18k+1%-9 years ago
0.1.2
CommonJSNonePolyfills and shims
@ungap/event-target
An EventTarget polyfill
17.9k---3 years ago
0.2.4
ESM onlyBundledPolyfills and shims
parsleyjs
Validate your forms, frontend, without writing a single line of javascript!
17.9k-13%-6 years ago
2.9.2
CommonJSNonePolyfills and shims
@web3modal/polyfills
#### 🔗 [Website](https://web3modal.com)
17.7k---1 year ago
5.1.11
ESM onlyBundledPolyfills and shims, Blockchain and Web3
array.prototype.with
An ESnext spec-compliant `Array.prototype.with` shim/polyfill/replacement that works as far down as ES3.
17.5k+1603%-2 years ago
1.1.6
CommonJSNonePolyfills and shims
grunt-terser
Grunt plugin for A JavaScript parser, mangler/compressor and beautifier toolkit for ES6+.
17.4k+34%-5 years ago
2.0.0
-NoneCompression and archives, Polyfills and shims
polyfill-object.fromentries
Object.fromEntries() polyfill
17k-19%-7 years ago
1.0.1
CommonJSNonePolyfills and shims
abort-signal-polyfill
A lightweight polyfill for AbortSignal.any, AbortSignal.timeout, and AbortSignal.abort methods
16.6k+10583%-1 year ago
1.0.0
ESM + CommonJSBundledPolyfills and shims
form-request-submit-polyfill
<form>.requestSubmit() polyfill
16.5k-19%-7 years ago
2.0.0
CommonJSNonePolyfills and shims, Forms
web-speech-cognitive-services
Polyfill Web Speech API with Cognitive Services Speech-to-Text service
15.1k+18%-9 months ago
8.1.4
ESM + CommonJSBundledPolyfills and shims
cookie-store
A polyfill for the Cookie Store API
15k+78%-6 years ago
3.0.0
ESM onlyBundledPolyfills and shims
phantomjs-polyfill
Polyfill for Function.prototype.bind
15k+56%-10 years ago
0.0.2
CommonJSNonePolyfills and shims
@web/polyfills-loader
Generate loader for loading browser polyfills based on feature detection
14.9k---2 months ago
3.0.0
ESM + CommonJSBundledPolyfills and shims
aurelia-polyfills
The minimal set of polyfills that the Aurelia platform needs to run on ES5 browsers.
14.6k+8%-7 years ago
1.3.4
ESM + CommonJSBundledPolyfills and shims
webrtc-polyfill
High performance WebRTC polyfill for Node.JS via libdatachannel using Node Native/NAPI.
14.5k+101%-3 months ago
1.2.2
ESM onlyBundledPolyfills and shims
intl-list-format
A fully spec-compliant polyfill for 'Intl.ListFormat'
14.5k-46%-7 years ago
1.0.3
ESM + CommonJSBundledInternationalisation, Polyfills and shims
jquery-contextmenu
Management facility for context menus. Developed for a large number of triggering objects. HTML5 Polyfill
14.4k-16%--
2.10.2
CommonJSNonePolyfills and shims
@loaders.gl/polyfills
Polyfills for TextEncoder/TextDecoder
13.5k---5 days ago
4.5.2
ESM + CommonJSBundledPolyfills and shims
@ungap/import-node
An importNode polyfill for IE11 and other legacy browsers
13.4k---6 years ago
0.2.0
ESM onlyNonePolyfills and shims
@ungap/weakmap
An essential WeakMap polyfill for legacy browsers.
13.4k---6 years ago
0.2.1
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.