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
path-data-polyfill
Polyfill for SVG 2 getPathData() and setPathData() methods
7.5k+25%-1 year ago
1.0.10
CommonJSBundledPolyfills and shims
canvas-to-blob
Canvas toBlob polyfill
7.5k-32%-7 years ago
1.0.0
CommonJSNonePolyfills and shims
set.prototype.symmetricdifference
An ESnext spec-compliant `Set.prototype.symmetricDifference` shim/polyfill/replacement that works as far down as ES3
7.4k+244%-2 years ago
1.1.3
CommonJSNonePolyfills and shims
ember-weakmap
ES2015 WeakMap polyfill for Ember.WeakMap
7.4k-11%-7 years ago
3.3.2
-NonePolyfills and shims
miniraf
ES2015 module to polyfill requestAnimationFrame
7.4k-23%-8 years ago
1.0.1
ESM + CommonJSBundledPolyfills and shims, Animation
stream.pipeline-shim
Polyfill/shim for stream.pipeline in node versions < v10
7.3k-43%-7 years ago
1.1.0
CommonJSBundledPolyfills and shims
ric
requestIdleCallback polyfill
7.3k+39%-10 years ago
1.3.0
CommonJSNonePolyfills and shims
array-foreach
Array#forEach ponyfill for older browsers
7.3k-10%-10 years ago
1.0.2
CommonJSNonePolyfills and shims
nodelist-foreach-polyfill
Simple polyfill for the NodeList.forEach method.
7.3k-19%-9 years ago
1.2.0
CommonJSNonePolyfills and shims
mp3-mediarecorder
MediaRecorder ponyfill that records audio as mp3
7.2k+205%-5 years ago
4.0.5
ESM + CommonJSBundledPolyfills and shims, Video and audio
ember-cli-element-closest-polyfill
Ember cli addon that includes a polyfill for closest() if needed.
7.2k+29%-5 years ago
0.0.2
-NonePolyfills and shims
react-dnd-scrollzone
A cross browser solution to scrolling during drag and drop.
7.1k-40%-7 years ago
5.0.0
CommonJSNoneDOM and browser utilities, React
focus-within-polyfill
Small vanilla javascript that feature detect the :focus-within pseudo selector and polyfills it with a standard css class if necessary.
7k-43%-5 years ago
5.2.1
CommonJSNonePolyfills and shims
flex-gap-polyfill
A PostCSS polyfill for adding gap between flex items
7k+92%-2 years ago
5.0.0
ESM + CommonJSNoneCSS-in-JS and styling, Polyfills and shims
intersection-observer-polyfill
A polyfill of IntersectionObserver API
6.9k-62%-10 years ago
0.1.0
CommonJSNonePolyfills and shims
string.prototype.towellformed
An ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.
6.9k+213%-2 years ago
1.0.2
CommonJSNonePolyfills and shims, Strings and text
fullscreen-api-polyfill
W3C's Fullscreen API Polyfill
6.8k-22%-10 years ago
1.1.2
CommonJSNonePolyfills and shims
@preflower/barcode-detector-polyfill
A WebAssembly polyfill for the Barcode Detection API
6.8k---1 year ago
0.9.21
ESM + CommonJSBundledPolyfills and shims
element-scroll-polyfill
A minimal polyfill for Element scroll extensions.
6.8k+14%-7 years ago
1.0.1
CommonJSNonePolyfills and shims
extension-develop
Develop, build, preview, and package Extension.js projects.
6.8k+193%-1 day ago
4.1.28
ESM onlyBundledDev servers and API mocking, Polyfills and shims
es7-object-polyfill
A polyfill for missing Object.values / Object.entries
6.6k-9%-6 years ago
1.0.1
CommonJSNonePolyfills and shims
esbuild-shim-plugin
A plugin for esbuild to shim imports for commonjs and esm modules.
6.5k+10704%-1 month ago
1.1.0
ESM + CommonJSBundledPolyfills and shims
image-capture
MediaStream ImageCapture polyfill: takePhoto(), grabFrame() and more
6.4k-20%-8 years ago
0.4.0
ESM + CommonJSNonePolyfills and shims
react-native-console-time-polyfill
console.time, console.timeLog and console.timeEnd polyfill for react-native
6.4k+8%-5 years ago
1.2.3
CommonJSNonePolyfills and shims, React
typescript-map
ES6 Map Implemented in TypeScript
6.4k-12%-5 years ago
0.1.0
CommonJSNonePolyfills and shims, TypeScript tooling
array.from
A robust & optimized `Array.from` polyfill, based on the ECMAScript 6 specification.
6.1k-20%-2 years ago
1.1.6
CommonJSNonePolyfills and shims
@adobe/focus-ring-polyfill
A simple polyfill for the `:focus-ring` spec
5.9k---8 years ago
0.1.5
CommonJSNonePolyfills and shims
ima-babel6-polyfill
Babel 6 polyfill for IE<=10
5.8k+0%-10 years ago
0.12.0
CommonJSNonePolyfills and shims
array.prototype.concat
ES spec-compliant `Array.prototype.concat` shim/polyfill/replacement that works as far down as ES3.
5.7k+94%-2 years ago
1.0.6
CommonJSNonePolyfills and shims
airbnb-browser-shims
Browser and JS shims used by Airbnb.
5.7k+18%-7 years ago
3.3.0
CommonJSNonePolyfills and shims
fs.promises
fs.promises polyfill
5.6k-46%-8 years ago
0.1.2
CommonJSNonePolyfills and shims
array.prototype.some
An ES5 spec-compliant `Array.prototype.some` shim/polyfill/replacement that works as far down as ES3.
5.6k-46%-2 years ago
1.1.6
CommonJSNonePolyfills and shims
audio-context-polyfill
Just code for one API by enjoying this polyfill for the Web Audio API.
5.5k-86%--
1.0.0
CommonJSNoneVideo and audio, Polyfills and shims
react-native-webrtc-web-shim
A shim for React Native WebRTC to enable support for React Native Web
5.3k+193%-2 years ago
1.0.7
CommonJSNoneReact, WebSockets and realtime
hyphenopoly
Hyphenation for node and Polyfill for client-side hyphenation.
5.3k+88%-8 months ago
6.1.0
ESM onlyNonePolyfills and shims
weakmap
Shim for WeakMap with non-leaky O(1) lookup time
5.2k+5%-13 years ago
0.0.6
CommonJSNonePolyfills and shims
buffer-v6-polyfill
A polyfill for older versions of node.js for the node v6 Buffer
5.2k+154%-9 years ago
1.0.5
CommonJSNonePolyfills and shims
console-assert
Standardizer for node's console.assert
5.2k-59%-10 years ago
1.0.0
CommonJSNonePolyfills and shims
md-gum-polyfill
A polyfill to use the Promise-flavoured, `mediaDevices` based version of getUserMedia, in browsers that support *some sort* of getUserMedia.
5.2k+55%-10 years ago
1.0.0
CommonJSNonePolyfills and shims
shim-keyboard-event-key
Tiny KeyboardEvent#key shim for IE and MS Edge
5.2k+2%-7 years ago
1.0.3
-NonePolyfills and shims
@mentra/jspolyfill
MentraJS polyfill bundle — installed into each per-miniapp JSContext (iOS-JSC, Android-QuickJS) at spawn time. Provides browser-like globals (console, timers, fetch, WebSocket, localStorage, crypto.subtle) over a single __dispatch native bridge, plus the
5.1k---11 days ago
3.1.1
CommonJSBundledPolyfills and shims
rangeslider.js
Simple, small and fast jQuery polyfill for the HTML5 <input type="range"> slider element
5.1k-13%-6 years ago
2.3.3
CommonJSNonePolyfills and shims, UI component libraries
raf.js
Yet another requestAnimationFrame polyfill.
5.1k+55%-12 years ago
0.0.4
CommonJSNonePolyfills and shims
ember-hash-helper-polyfill
The default blueprint for ember-cli addons.
5.1k-7%-8 years ago
0.2.1
-NonePolyfills and shims
@netless/canvas-polyfill
a polyfill for canvas getTransform, ellipse, resetTransform API
5k---6 years ago
0.0.4
CommonJSNonePolyfills and shims
@open-wc/rollup-plugin-polyfills-loader
Plugin for generating an html file with rollup
4.8k---5 years ago
1.1.8
CommonJSNoneBundler plugins and loaders, Polyfills and shims
groupby-polyfill
small zero dependent polyfill for `Object.groupBy` and `Map.groupBy`
4.7k+21%-2 years ago
1.0.0
CommonJSNonePolyfills and shims
context-filter-polyfill
Polyfills the `CanvasRenderingContext2d` and `OffscreenCanvasRenderingContext2D` capability of adopting CSS3 filters on canvas contexts (at least partially).
4.7k-18%--
0.3.23
ESM onlyBundledPolyfills and shims
@soatok/elliptic-to-noble
Replace npm elliptic with noble-curves, including all dependencies.
4.7k---10 months ago
9999.0.0
CommonJSBundledCryptography and hashing, Polyfills and shims
sugar-date
Date module for the Sugar Javascript utility library.
4.7k-59%-7 years ago
2.0.6
CommonJSBundledUtility libraries, Date and time

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.