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 |
|---|---|---|---|---|---|---|---|---|
| stickyfilljs Polyfill for CSS `position: sticky` | 30.5k | +3% | - | 8 years ago 2.1.0 | CommonJS | Bundled | Polyfills 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 + CommonJS | Bundled | Polyfills and shims |
| ts-polyfill Runtime polyfills for TypeScript libs, powered by core-js! | 29.3k | +44% | - | 6 years ago 3.8.2 | CommonJS | Bundled | Polyfills 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 only | Bundled | Polyfills 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 + CommonJS | Bundled | Polyfills 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 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims, Strings and text | |
| @ungap/from-entries An Object.fromEntries polyfill | 26.9k | - | - | - | 6 years ago 0.2.1 | ESM only | None | Polyfills and shims |
| sugar-core Core module for the Sugar Javascript utility library. | 26.5k | -45% | - | 7 years ago 2.0.6 | CommonJS | Bundled | Utility 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 | CommonJS | None | Polyfills 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 only | Bundled | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| details-element-polyfill HTML <details> element polyfill | 24.4k | +18% | - | 7 years ago 2.4.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills 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 | - | None | CSS-in-JS and styling, Polyfills and shims | |
| map-like ECMAScript Map like object. | 23.5k | +46% | - | 9 years ago 2.0.0 | CommonJS | Bundled | Polyfills and shims | |
| date-time-format-timezone Surgically polyfills timezone support in Intl.DateTimeFormat API | 23.2k | -42% | - | - 1.0.22 | CommonJS | None | Date 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 | CommonJS | None | Polyfills and shims, React | |
| flexibility A JavaScript polyfill for Flexbox | 22.1k | -38% | - | 10 years ago 2.0.1 | CommonJS | None | Polyfills and shims | |
| postcss-flexibility PostCSS plugin for Flexibility polyfill | 22k | -34% | - | 5 years ago 3.0.0 | CommonJS | None | CSS-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 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills 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 | CommonJS | Bundled | CSS-in-JS and styling, React |
| object.entries-ponyfill `Object.entries()` ponyfill | 21.1k | -36% | - | 9 years ago 1.0.1 | CommonJS | None | Polyfills and shims | |
| babel-plugin-array-includes Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`. | 20.7k | -7% | - | 10 years ago 2.0.3 | CommonJS | None | Polyfills and shims | |
| js-polyfills Collection of Web polyfills. | 20.4k | +38% | - | - 0.1.43 | CommonJS | None | Polyfills 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 | CommonJS | None | Cryptography 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 + CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| object_values polyfill for es8 Object.values | 18k | +1% | - | 9 years ago 0.1.2 | CommonJS | None | Polyfills and shims | |
| @ungap/event-target An EventTarget polyfill | 17.9k | - | - | - | 3 years ago 0.2.4 | ESM only | Bundled | Polyfills and shims |
| parsleyjs Validate your forms, frontend, without writing a single line of javascript! | 17.9k | -13% | - | 6 years ago 2.9.2 | CommonJS | None | Polyfills and shims | |
| @web3modal/polyfills #### 🔗 [Website](https://web3modal.com) | 17.7k | - | - | - | 1 year ago 5.1.11 | ESM only | Bundled | Polyfills 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 | CommonJS | None | Polyfills 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 | - | None | Compression and archives, Polyfills and shims | |
| polyfill-object.fromentries Object.fromEntries() polyfill | 17k | -19% | - | 7 years ago 1.0.1 | CommonJS | None | Polyfills 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 + CommonJS | Bundled | Polyfills and shims | |
| form-request-submit-polyfill <form>.requestSubmit() polyfill | 16.5k | -19% | - | 7 years ago 2.0.0 | CommonJS | None | Polyfills 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 + CommonJS | Bundled | Polyfills and shims | |
| cookie-store A polyfill for the Cookie Store API | 15k | +78% | - | 6 years ago 3.0.0 | ESM only | Bundled | Polyfills and shims | |
| phantomjs-polyfill Polyfill for Function.prototype.bind | 15k | +56% | - | 10 years ago 0.0.2 | CommonJS | None | Polyfills and shims | |
| @web/polyfills-loader Generate loader for loading browser polyfills based on feature detection | 14.9k | - | - | - | 2 months ago 3.0.0 | ESM + CommonJS | Bundled | Polyfills 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 + CommonJS | Bundled | Polyfills 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 only | Bundled | Polyfills and shims | |
| intl-list-format A fully spec-compliant polyfill for 'Intl.ListFormat' | 14.5k | -46% | - | 7 years ago 1.0.3 | ESM + CommonJS | Bundled | Internationalisation, 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 | CommonJS | None | Polyfills and shims | |
| @loaders.gl/polyfills Polyfills for TextEncoder/TextDecoder | 13.5k | - | - | - | 5 days ago 4.5.2 | ESM + CommonJS | Bundled | Polyfills and shims |
| @ungap/import-node An importNode polyfill for IE11 and other legacy browsers | 13.4k | - | - | - | 6 years ago 0.2.0 | ESM only | None | Polyfills and shims |
| @ungap/weakmap An essential WeakMap polyfill for legacy browsers. | 13.4k | - | - | - | 6 years ago 0.2.1 | ESM only | None | 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.
- stickyfilljsPolyfill for CSS `position: sticky`
- @esri/arcgis-rest-fetchThis 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.
- ts-polyfillRuntime polyfills for TypeScript libs, powered by core-js!
- webworker-shimA tiny shim for WebWorker (data URI only) that works in Node.
- @esri/arcgis-rest-form-dataThis 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.
- set.prototype.unionAn ESnext spec-compliant `Set.prototype.union` shim/polyfill/replacement that works as far down as ES3
- fetch-readablestreamCompatibility layer for efficient streaming of binary data using [WHATWG Streams](https://streams.spec.whatwg.org/)
- string.prototype.atAn ES-spec-compliant (proposed) String.prototype.at shim/polyfill/replacement that works as far down as ES3
- @ungap/from-entriesAn Object.fromEntries polyfill
- sugar-coreCore module for the Sugar Javascript utility library.
- @textlint/get-config-base-dirContext#getConfigBaseDir ponyfill for textlint ^8.x.x
- @moq/web-socket-streamA WebSocketStream polyfill: a plain WebSocket wrapped as { readable, writable } streams with backpressure
- mq-polyfillCSSOM-valid and jsdom/Jest-compatible matchMedia polyfill for server-side unit tests
- details-element-polyfillHTML <details> element polyfill
- string.prototype.endswithA robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.
- postcss-object-fit-imagesPostCSS 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.
- map-likeECMAScript Map like object.
- date-time-format-timezoneSurgically polyfills timezone support in Intl.DateTimeFormat API
- react-native-polyfill-globalsPolyfills and patches missing or partially supported web and core APIs
- flexibilityA JavaScript polyfill for Flexbox
- postcss-flexibilityPostCSS plugin for Flexibility polyfill
- @rexxars/eventsource-polyfillA browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)
- react-anchor-link-smooth-scrollReact component for anchor links using the smoothscroll polyfill.
- @expo/match-mediaUniversal polyfill for match media API using Expo APIs on mobile
- object.entries-ponyfill`Object.entries()` ponyfill
- babel-plugin-array-includesReplaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.
- js-polyfillsCollection of Web polyfills.
- random-poly-fillA polyfill for crypto.randomFill and crypto.randomFillSync from Node.js core
- dimportRun ES Module syntax in any browser – even IE!
- element-matchesSuper small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
- object_valuespolyfill for es8 Object.values
- @ungap/event-targetAn EventTarget polyfill
- parsleyjsValidate your forms, frontend, without writing a single line of javascript!
- @web3modal/polyfills#### 🔗 [Website](https://web3modal.com)
- array.prototype.withAn ESnext spec-compliant `Array.prototype.with` shim/polyfill/replacement that works as far down as ES3.
- grunt-terserGrunt plugin for A JavaScript parser, mangler/compressor and beautifier toolkit for ES6+.
- polyfill-object.fromentriesObject.fromEntries() polyfill
- abort-signal-polyfillA lightweight polyfill for AbortSignal.any, AbortSignal.timeout, and AbortSignal.abort methods
- form-request-submit-polyfill<form>.requestSubmit() polyfill
- web-speech-cognitive-servicesPolyfill Web Speech API with Cognitive Services Speech-to-Text service
- cookie-storeA polyfill for the Cookie Store API
- phantomjs-polyfillPolyfill for Function.prototype.bind
- @web/polyfills-loaderGenerate loader for loading browser polyfills based on feature detection
- aurelia-polyfillsThe minimal set of polyfills that the Aurelia platform needs to run on ES5 browsers.
- webrtc-polyfillHigh performance WebRTC polyfill for Node.JS via libdatachannel using Node Native/NAPI.
- intl-list-formatA fully spec-compliant polyfill for 'Intl.ListFormat'
- jquery-contextmenuManagement facility for context menus. Developed for a large number of triggering objects. HTML5 Polyfill
- @loaders.gl/polyfillsPolyfills for TextEncoder/TextDecoder
- @ungap/import-nodeAn importNode polyfill for IE11 and other legacy browsers
- @ungap/weakmapAn essential WeakMap polyfill for legacy browsers.