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 |
|---|---|---|---|---|---|---|---|---|
| path-data-polyfill Polyfill for SVG 2 getPathData() and setPathData() methods | 7.5k | +25% | - | 1 year ago 1.0.10 | CommonJS | Bundled | Polyfills and shims | |
| canvas-to-blob Canvas toBlob polyfill | 7.5k | -32% | - | 7 years ago 1.0.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| ember-weakmap ES2015 WeakMap polyfill for Ember.WeakMap | 7.4k | -11% | - | 7 years ago 3.3.2 | - | None | Polyfills and shims | |
| miniraf ES2015 module to polyfill requestAnimationFrame | 7.4k | -23% | - | 8 years ago 1.0.1 | ESM + CommonJS | Bundled | Polyfills and shims, Animation | |
| stream.pipeline-shim Polyfill/shim for stream.pipeline in node versions < v10 | 7.3k | -43% | - | 7 years ago 1.1.0 | CommonJS | Bundled | Polyfills and shims | |
| ric requestIdleCallback polyfill | 7.3k | +39% | - | 10 years ago 1.3.0 | CommonJS | None | Polyfills and shims | |
| array-foreach Array#forEach ponyfill for older browsers | 7.3k | -10% | - | 10 years ago 1.0.2 | CommonJS | None | Polyfills and shims | |
| nodelist-foreach-polyfill Simple polyfill for the NodeList.forEach method. | 7.3k | -19% | - | 9 years ago 1.2.0 | CommonJS | None | Polyfills and shims | |
| mp3-mediarecorder MediaRecorder ponyfill that records audio as mp3 | 7.2k | +205% | - | 5 years ago 4.0.5 | ESM + CommonJS | Bundled | Polyfills 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 | - | None | Polyfills and shims | |
| react-dnd-scrollzone A cross browser solution to scrolling during drag and drop. | 7.1k | -40% | - | 7 years ago 5.0.0 | CommonJS | None | DOM 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 | CommonJS | None | Polyfills and shims | |
| flex-gap-polyfill A PostCSS polyfill for adding gap between flex items | 7k | +92% | - | 2 years ago 5.0.0 | ESM + CommonJS | None | CSS-in-JS and styling, Polyfills and shims | |
| intersection-observer-polyfill A polyfill of IntersectionObserver API | 6.9k | -62% | - | 10 years ago 0.1.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims, Strings and text | |
| fullscreen-api-polyfill W3C's Fullscreen API Polyfill | 6.8k | -22% | - | 10 years ago 1.1.2 | CommonJS | None | Polyfills and shims | |
| @preflower/barcode-detector-polyfill A WebAssembly polyfill for the Barcode Detection API | 6.8k | - | - | - | 1 year ago 0.9.21 | ESM + CommonJS | Bundled | Polyfills and shims |
| element-scroll-polyfill A minimal polyfill for Element scroll extensions. | 6.8k | +14% | - | 7 years ago 1.0.1 | CommonJS | None | Polyfills and shims | |
| extension-develop Develop, build, preview, and package Extension.js projects. | 6.8k | +193% | - | 1 day ago 4.1.28 | ESM only | Bundled | Dev 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 | CommonJS | None | Polyfills 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 + CommonJS | Bundled | Polyfills and shims | |
| image-capture MediaStream ImageCapture polyfill: takePhoto(), grabFrame() and more | 6.4k | -20% | - | 8 years ago 0.4.0 | ESM + CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims, React | |
| typescript-map ES6 Map Implemented in TypeScript | 6.4k | -12% | - | 5 years ago 0.1.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| @adobe/focus-ring-polyfill A simple polyfill for the `:focus-ring` spec | 5.9k | - | - | - | 8 years ago 0.1.5 | CommonJS | None | Polyfills and shims |
| ima-babel6-polyfill Babel 6 polyfill for IE<=10 | 5.8k | +0% | - | 10 years ago 0.12.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| airbnb-browser-shims Browser and JS shims used by Airbnb. | 5.7k | +18% | - | 7 years ago 3.3.0 | CommonJS | None | Polyfills and shims | |
| fs.promises fs.promises polyfill | 5.6k | -46% | - | 8 years ago 0.1.2 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills 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 | CommonJS | None | Video 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 | CommonJS | None | React, WebSockets and realtime | |
| hyphenopoly Hyphenation for node and Polyfill for client-side hyphenation. | 5.3k | +88% | - | 8 months ago 6.1.0 | ESM only | None | Polyfills and shims | |
| weakmap Shim for WeakMap with non-leaky O(1) lookup time | 5.2k | +5% | - | 13 years ago 0.0.6 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| console-assert Standardizer for node's console.assert | 5.2k | -59% | - | 10 years ago 1.0.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| shim-keyboard-event-key Tiny KeyboardEvent#key shim for IE and MS Edge | 5.2k | +2% | - | 7 years ago 1.0.3 | - | None | Polyfills 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 | CommonJS | Bundled | Polyfills 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 | CommonJS | None | Polyfills and shims, UI component libraries | |
| raf.js Yet another requestAnimationFrame polyfill. | 5.1k | +55% | - | 12 years ago 0.0.4 | CommonJS | None | Polyfills and shims | |
| ember-hash-helper-polyfill The default blueprint for ember-cli addons. | 5.1k | -7% | - | 8 years ago 0.2.1 | - | None | Polyfills and shims | |
| @netless/canvas-polyfill a polyfill for canvas getTransform, ellipse, resetTransform API | 5k | - | - | - | 6 years ago 0.0.4 | CommonJS | None | Polyfills and shims |
| @open-wc/rollup-plugin-polyfills-loader Plugin for generating an html file with rollup | 4.8k | - | - | - | 5 years ago 1.1.8 | CommonJS | None | Bundler 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 | CommonJS | None | Polyfills 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 only | Bundled | Polyfills and shims | |
| @soatok/elliptic-to-noble Replace npm elliptic with noble-curves, including all dependencies. | 4.7k | - | - | - | 10 months ago 9999.0.0 | CommonJS | Bundled | Cryptography and hashing, Polyfills and shims |
| sugar-date Date module for the Sugar Javascript utility library. | 4.7k | -59% | - | 7 years ago 2.0.6 | CommonJS | Bundled | Utility 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.
- path-data-polyfillPolyfill for SVG 2 getPathData() and setPathData() methods
- canvas-to-blobCanvas toBlob polyfill
- set.prototype.symmetricdifferenceAn ESnext spec-compliant `Set.prototype.symmetricDifference` shim/polyfill/replacement that works as far down as ES3
- ember-weakmapES2015 WeakMap polyfill for Ember.WeakMap
- minirafES2015 module to polyfill requestAnimationFrame
- stream.pipeline-shimPolyfill/shim for stream.pipeline in node versions < v10
- ricrequestIdleCallback polyfill
- array-foreachArray#forEach ponyfill for older browsers
- nodelist-foreach-polyfillSimple polyfill for the NodeList.forEach method.
- mp3-mediarecorderMediaRecorder ponyfill that records audio as mp3
- ember-cli-element-closest-polyfillEmber cli addon that includes a polyfill for closest() if needed.
- react-dnd-scrollzoneA cross browser solution to scrolling during drag and drop.
- focus-within-polyfillSmall vanilla javascript that feature detect the :focus-within pseudo selector and polyfills it with a standard css class if necessary.
- flex-gap-polyfillA PostCSS polyfill for adding gap between flex items
- intersection-observer-polyfillA polyfill of IntersectionObserver API
- string.prototype.towellformedAn ESnext spec-compliant `String.prototype.toWellFormed` shim/polyfill/replacement that works as far down as ES3.
- fullscreen-api-polyfillW3C's Fullscreen API Polyfill
- @preflower/barcode-detector-polyfillA WebAssembly polyfill for the Barcode Detection API
- element-scroll-polyfillA minimal polyfill for Element scroll extensions.
- extension-developDevelop, build, preview, and package Extension.js projects.
- es7-object-polyfillA polyfill for missing Object.values / Object.entries
- esbuild-shim-pluginA plugin for esbuild to shim imports for commonjs and esm modules.
- image-captureMediaStream ImageCapture polyfill: takePhoto(), grabFrame() and more
- react-native-console-time-polyfillconsole.time, console.timeLog and console.timeEnd polyfill for react-native
- typescript-mapES6 Map Implemented in TypeScript
- array.fromA robust & optimized `Array.from` polyfill, based on the ECMAScript 6 specification.
- @adobe/focus-ring-polyfillA simple polyfill for the `:focus-ring` spec
- ima-babel6-polyfillBabel 6 polyfill for IE<=10
- array.prototype.concatES spec-compliant `Array.prototype.concat` shim/polyfill/replacement that works as far down as ES3.
- airbnb-browser-shimsBrowser and JS shims used by Airbnb.
- fs.promisesfs.promises polyfill
- array.prototype.someAn ES5 spec-compliant `Array.prototype.some` shim/polyfill/replacement that works as far down as ES3.
- audio-context-polyfillJust code for one API by enjoying this polyfill for the Web Audio API.
- react-native-webrtc-web-shimA shim for React Native WebRTC to enable support for React Native Web
- hyphenopolyHyphenation for node and Polyfill for client-side hyphenation.
- weakmapShim for WeakMap with non-leaky O(1) lookup time
- buffer-v6-polyfillA polyfill for older versions of node.js for the node v6 Buffer
- console-assertStandardizer for node's console.assert
- md-gum-polyfillA polyfill to use the Promise-flavoured, `mediaDevices` based version of getUserMedia, in browsers that support *some sort* of getUserMedia.
- shim-keyboard-event-keyTiny KeyboardEvent#key shim for IE and MS Edge
- @mentra/jspolyfillMentraJS 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
- rangeslider.jsSimple, small and fast jQuery polyfill for the HTML5 <input type="range"> slider element
- raf.jsYet another requestAnimationFrame polyfill.
- ember-hash-helper-polyfillThe default blueprint for ember-cli addons.
- @netless/canvas-polyfilla polyfill for canvas getTransform, ellipse, resetTransform API
- @open-wc/rollup-plugin-polyfills-loaderPlugin for generating an html file with rollup
- groupby-polyfillsmall zero dependent polyfill for `Object.groupBy` and `Map.groupBy`
- context-filter-polyfillPolyfills the `CanvasRenderingContext2d` and `OffscreenCanvasRenderingContext2D` capability of adopting CSS3 filters on canvas contexts (at least partially).
- @soatok/elliptic-to-nobleReplace npm elliptic with noble-curves, including all dependencies.
- sugar-dateDate module for the Sugar Javascript utility library.