Package category
Polyfills and shims
Backfill missing language and platform features.
622 packages2 comparisons
Packages compared
622 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| react-time-input-polyfill A pre-built, plug-and-play, fully accessible React component that will produce an `input[type='time']` element with a built in polyfill for IE and Safari support. | 1.7k | -34% | - | - 1.0.11 | ESM + CommonJS | None | Accessibility, React | |
| @jitsi/sdp-interop A simple SDP interoperability layer for Unified Plan/Plan B | 1.7k | - | - | - | 5 years ago 1.0.5 | ESM only | None | Polyfills and shims, WebSockets and realtime |
| event-listener-with-options Polyfill for EventTarget options object support | 1.7k | -74% | - | 7 years ago 1.1.0 | CommonJS | None | Polyfills and shims | |
| geometry-polyfill Polyfill for DOM Geometry Interfaces Module Level 1 | 1.6k | +41% | - | 6 years ago 1.0.7 | CommonJS | None | Polyfills and shims | |
| scrollingelement A `document.scrollingElement` polyfill. | 1.6k | -13% | - | 10 years ago 1.5.2 | CommonJS | None | Polyfills and shims, DOM and browser utilities | |
| object-fit-videos Polyfill for object-fit and object-position CSS properties on video elements | 1.6k | +6% | - | 8 years ago 1.0.4 | CommonJS | None | Polyfills and shims | |
| svg-bbox-polyfill SVG `getBBox` Polyfill | 1.6k | - | - | 9 months ago 0.1.1 | ESM only | Bundled | Polyfills and shims | |
| polyfill-symbol-metadata A polyfill for Symbol.metadata to support TC39 Decorator Metadata Proposal | 1.6k | +523% | - | 1 year ago 0.0.2 | CommonJS | Bundled | Polyfills and shims | |
| @wevu/web-apis Web API polyfills and global installers for mini-program runtimes | 1.6k | - | - | - | 1 day ago 1.3.3 | ESM only | Bundled | Polyfills and shims |
| nuxt-polyfill Ease adding polyfills to Nuxt.js projects using Polyfill.io among others | 1.5k | -49% | - | 7 years ago 1.0.3 | CommonJS | None | Polyfills and shims, Vue | |
| @falcondev-oss/expo-event-source-polyfill A polyfill for the EventSource API in Expo using `expo/fetch` | 1.5k | - | - | - | 3 months ago 2.0.5 | ESM + CommonJS | None | Polyfills and shims, WebSockets and realtime |
| @rumpl/node-eventsource W3C compliant EventSource client for Node.js and browser (polyfill) | 1.5k | - | - | - | 5 years ago 1.0.0 | CommonJS | None | Polyfills and shims |
| blobjs native Blob interface support (polyfill) | 1.5k | -35% | - | 9 years ago 1.1.1 | CommonJS | None | Polyfills and shims | |
| parseint An ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3 | 1.5k | +96% | - | 2 years ago 2.0.1 | CommonJS | None | Polyfills and shims | |
| @tagadapay/core-js Core JavaScript SDK for Tagada Pay with provider-agnostic tokenization, 3DS, and React hooks | 1.5k | - | - | - | 1 month ago 3.2.0 | ESM + CommonJS | Bundled | React, TypeScript tooling |
| error.iserror An ESnext spec-compliant `Error.isError` shim/polyfill/replacement that works as far down as ES3 | 1.5k | +3234% | - | 1 year ago 1.0.2 | CommonJS | None | Polyfills and shims | |
| access-key-label-polyfill Polyfills the accessKeyLabel property to improve discoverability of native keyboard shortcuts for your website. Tiny (< 1KB) and dependency-free. | 1.5k | +170% | - | 11 months ago 1.0.2 | ESM only | Bundled | DOM and browser utilities, Polyfills and shims | |
| babel-plugin-object-assign Babel plugin to replace Object.assign with the extends helper | 1.5k | -55% | - | 11 years ago 1.2.1 | CommonJS | None | Polyfills and shims | |
| webshim modular capability-based polyfill loading libary, which extends jQuery with HTML5 features in legacy browsers | 1.4k | +276% | - | - 1.16.0 | CommonJS | None | Polyfills and shims, Video and audio | |
| minifill Essential polyfill for the web | 1.4k | +5% | - | 4 years ago 0.0.17 | ESM + CommonJS | None | Polyfills and shims | |
| @cookaborough/element-internals-polyfill A polyfill for the element internals specification | 1.4k | - | - | - | 3 years ago 2.0.3 | ESM only | Bundled | Polyfills and shims |
| @yume-chan/dataview-bigint-polyfill Polyfill for `DataView#getBigInt64`, `DataView#getBigUint64`, `DataView#setBigInt64` and `DataView#setBigUint64` | 1.4k | - | - | - | 2 years ago 0.0.23 | ESM only | Bundled | Polyfills and shims |
| @wessberg/pointer-events A Level 2 spec-compliant Pointer Events polyfill with first-class Shadow DOM support | 1.4k | - | - | - | 7 years ago 1.0.9 | ESM + CommonJS | Bundled | Polyfills and shims |
| headjs HeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD> | 1.4k | +39% | - | 10 years ago 1.0.3 | - | None | Polyfills and shims | |
| array.prototype.keys An ES2015 spec-compliant `Array.prototype.keys` shim/polyfill/replacement that works as far down as ES3. | 1.4k | +163% | - | 2 years ago 1.1.3 | CommonJS | None | Polyfills and shims | |
| karma-coverage-istanbul-instrumenter Karma preprocessor for instrumenting javascript code for coverage | 1.4k | -30% | - | 4 years ago 1.0.4 | CommonJS | None | Bundlers, TypeScript tooling | |
| @enhances/with-resolvers Promise withResolvers polyfill | 1.4k | - | - | - | 2 years ago 0.0.5 | CommonJS | None | Polyfills and shims |
| jspolyfill-array.prototype.find Array.prototype.find ES6 polyfill for ES5 versions and lower. | 1.4k | +17% | - | 10 years ago 0.1.3 | CommonJS | None | Polyfills and shims | |
| @d-fischer/promise.allsettled ES Proposal spec-compliant shim for Promise.allSettled | 1.4k | - | - | - | 5 years ago 2.0.2 | ESM + CommonJS | Bundled | Polyfills and shims, Promises and async control flow |
| @asyarb/use-resize-observer An easy to use React hook wrapper around the ResizeObserver API. | 1.3k | - | - | - | 7 years ago 2.0.2 | CommonJS | Bundled | React, Polyfills and shims |
| angular-shims-placeholder Angular directive to emulate the `placeholder` attribute on text and password input fields for old browsers, such as IE9, IE8, and below | 1.3k | +13% | - | 9 years ago 0.4.8 | CommonJS | None | Angular, Polyfills and shims | |
| polyfills user-agent-based polyfill combinator | 1.3k | -30% | - | 11 years ago 2.1.1 | CommonJS | None | Polyfills and shims | |
| webkit-line-clamp JS polyfill CSS property -webkit-line-clamp | 1.3k | -27% | - | 3 months ago 1.3.0 | CommonJS | Bundled | Polyfills and shims | |
| events.once Polyfill for Node core `events.once | 1.3k | -80% | - | 7 years ago 2.0.2 | CommonJS | None | Polyfills and shims | |
| object.defineproperties ES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3 | 1.3k | +98% | - | 2 years ago 1.0.3 | ESM + CommonJS | None | Polyfills and shims | |
| @ungap/essential-map An essential Map poorlyfill for legacy browsers. | 1.2k | - | - | - | 6 years ago 0.3.2 | ESM only | None | Polyfills and shims |
| sketch-polyfill-fetch A fetch polyfill for sketch | 1.2k | +94% | - | 7 years ago 0.5.2 | CommonJS | None | Polyfills and shims, HTTP clients | |
| @ungap/template-literal A feature detected fix for non unique template literals | 1.2k | - | - | - | 6 years ago 0.6.0 | ESM only | None | Polyfills and shims |
| adapterjs Creating a common API for WebRTC in the browser | 1.2k | -5% | - | 6 years ago 0.15.5 | CommonJS | None | Polyfills and shims | |
| @ungap/custom-event A CustomEvent polyfill for legacy browsers. | 1.2k | - | - | - | 6 years ago 0.3.1 | ESM only | None | Polyfills and shims |
| request-animation-frames Use requestAnimationFrame as an async iterable, in any JavaScript environment | 1.2k | +78% | - | 2 years ago 1.0.0 | ESM only | Bundled | Animation, Polyfills and shims | |
| @tanker/file-ponyfill A cross-browser ponyfill for File with a working constructor | 1.2k | - | - | - | 3 years ago 4.0.0 | ESM + CommonJS | Bundled | Polyfills and shims |
| @ungap/essential-weakset Essential WeakSet for legacy browsers. | 1.2k | - | - | - | 6 years ago 0.2.1 | ESM only | None | Polyfills and shims |
| @ungap/is-array An is-array polyfill for legacy browsers. | 1.2k | - | - | - | 6 years ago 0.2.0 | ESM only | None | Polyfills and shims |
| @moq/web-transport WebTransport polyfill for Node.js via QUIC/HTTP3 | 1.2k | - | - | - | 2 months ago 0.1.4 | ESM only | Bundled | Polyfills and shims |
| polyfills-db browser feature database | 1.2k | -29% | - | 11 years ago 3.0.0 | CommonJS | None | Database clients and drivers, Polyfills and shims | |
| @webcomponents/html-imports HTML Imports polyfill | 1.1k | - | - | - | 3 years ago 1.3.1 | CommonJS | None | Polyfills and shims |
| o9n A screen.orientation ponyfill 🖥 | 1.1k | -70% | - | 4 years ago 2.1.1 | CommonJS | None | Polyfills and shims | |
| hammock Node.js mock / polyfill http object library for http req / res | 1.1k | +418% | - | 7 years ago 3.0.1 | CommonJS | None | Polyfills and shims | |
| promise-any-polyfill A polyfill for the `Promise.any` function. | 1.1k | +344% | - | 5 years ago 1.0.1 | CommonJS | Bundled | Polyfills 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.
- react-time-input-polyfillA pre-built, plug-and-play, fully accessible React component that will produce an `input[type='time']` element with a built in polyfill for IE and Safari support.
- @jitsi/sdp-interopA simple SDP interoperability layer for Unified Plan/Plan B
- event-listener-with-optionsPolyfill for EventTarget options object support
- geometry-polyfillPolyfill for DOM Geometry Interfaces Module Level 1
- scrollingelementA `document.scrollingElement` polyfill.
- object-fit-videosPolyfill for object-fit and object-position CSS properties on video elements
- svg-bbox-polyfillSVG `getBBox` Polyfill
- polyfill-symbol-metadataA polyfill for Symbol.metadata to support TC39 Decorator Metadata Proposal
- @wevu/web-apisWeb API polyfills and global installers for mini-program runtimes
- nuxt-polyfillEase adding polyfills to Nuxt.js projects using Polyfill.io among others
- @falcondev-oss/expo-event-source-polyfillA polyfill for the EventSource API in Expo using `expo/fetch`
- @rumpl/node-eventsourceW3C compliant EventSource client for Node.js and browser (polyfill)
- blobjsnative Blob interface support (polyfill)
- parseintAn ES-spec-compliant `parseInt` shim/polyfill/replacement that works as far down as ES3
- @tagadapay/core-jsCore JavaScript SDK for Tagada Pay with provider-agnostic tokenization, 3DS, and React hooks
- error.iserrorAn ESnext spec-compliant `Error.isError` shim/polyfill/replacement that works as far down as ES3
- access-key-label-polyfillPolyfills the accessKeyLabel property to improve discoverability of native keyboard shortcuts for your website. Tiny (< 1KB) and dependency-free.
- babel-plugin-object-assignBabel plugin to replace Object.assign with the extends helper
- webshimmodular capability-based polyfill loading libary, which extends jQuery with HTML5 features in legacy browsers
- minifillEssential polyfill for the web
- @cookaborough/element-internals-polyfillA polyfill for the element internals specification
- @yume-chan/dataview-bigint-polyfillPolyfill for `DataView#getBigInt64`, `DataView#getBigUint64`, `DataView#setBigInt64` and `DataView#setBigUint64`
- @wessberg/pointer-eventsA Level 2 spec-compliant Pointer Events polyfill with first-class Shadow DOM support
- headjsHeadJS: Responsive Design, Feature Detections & Asset Loading. The only script in your <HEAD>
- array.prototype.keysAn ES2015 spec-compliant `Array.prototype.keys` shim/polyfill/replacement that works as far down as ES3.
- karma-coverage-istanbul-instrumenterKarma preprocessor for instrumenting javascript code for coverage
- @enhances/with-resolversPromise withResolvers polyfill
- jspolyfill-array.prototype.findArray.prototype.find ES6 polyfill for ES5 versions and lower.
- @d-fischer/promise.allsettledES Proposal spec-compliant shim for Promise.allSettled
- @asyarb/use-resize-observerAn easy to use React hook wrapper around the ResizeObserver API.
- angular-shims-placeholderAngular directive to emulate the `placeholder` attribute on text and password input fields for old browsers, such as IE9, IE8, and below
- polyfillsuser-agent-based polyfill combinator
- webkit-line-clampJS polyfill CSS property -webkit-line-clamp
- events.oncePolyfill for Node core `events.once
- object.definepropertiesES spec-compliant `Object.defineProperties` shim/polyfill/replacement that works as far down as ES3
- @ungap/essential-mapAn essential Map poorlyfill for legacy browsers.
- sketch-polyfill-fetchA fetch polyfill for sketch
- @ungap/template-literalA feature detected fix for non unique template literals
- adapterjsCreating a common API for WebRTC in the browser
- @ungap/custom-eventA CustomEvent polyfill for legacy browsers.
- request-animation-framesUse requestAnimationFrame as an async iterable, in any JavaScript environment
- @tanker/file-ponyfillA cross-browser ponyfill for File with a working constructor
- @ungap/essential-weaksetEssential WeakSet for legacy browsers.
- @ungap/is-arrayAn is-array polyfill for legacy browsers.
- @moq/web-transportWebTransport polyfill for Node.js via QUIC/HTTP3
- polyfills-dbbrowser feature database
- @webcomponents/html-importsHTML Imports polyfill
- o9nA screen.orientation ponyfill 🖥
- hammockNode.js mock / polyfill http object library for http req / res
- promise-any-polyfillA polyfill for the `Promise.any` function.