Awesome Ponyfills Overview
A curated list of awesome ponyfills for writing cross-platform and cross-browser code.
🏠 Home · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 Richienb/awesome-ponyfills · ⭐ 46 · 🏷️ Programming Languages
Ponyfills are like polyfills but without overriding native APIs. Polyfills patch a piece of functionality so that older environments can support newer features whilst Ponyfills, on the other hand, provide functionality as standalone modules.
Contents
Articles
Main
- ⭐️ core-js-pure (⭐18k) - The entire standard library.
Uncategorised
- es6-promise (⭐7.3k) -
Promise - es6-map (⭐75) -
Map - es6-weak-map (⭐29) -
WeakMap - es6-set (⭐47) -
Set - es6-symbol (⭐179) -
Symbol - named-regexp-groups (⭐9) -
RegExp - globalthis (⭐148) -
globalThis
Numbers
- bignumber.js (⭐5.8k) -
BigInt - number-is-nan (⭐26) -
Number.isNaN - is-finite (⭐18) -
Number.isFinite - is-integer (⭐12) -
Number.isInteger
Strings
- indexof (⭐15) -
String.prototype.indexOf - string.prototype.trim (⭐13) -
String.prototype.trim - string.prototype.trimleft (⭐7) -
String.prototype.trimStart - string.prototype.trimright (⭐8) -
String.prototype.trimEnd - string.prototype.replaceall (⭐29) -
String.prototype.replaceAll
Objects
- object.fromentries (⭐33) -
Object.fromEntries - object.entries (⭐55) -
Object.entries - object-keys (⭐42) -
Object.keys - object.values (⭐71) -
Object.values - object-assign (⭐908) -
Object.assign - object-is (⭐25) -
Object.is - json3 (⭐1k) -
JSON
Arrays
- array-from (⭐16) -
Array.from - array.prototype.every (⭐7) -
Array.prototype.every - array.prototype.find (⭐36) -
Array.prototype.find - array.prototype.some (⭐2) -
Array.prototype.some - array.prototype.flatmap (⭐33) -
Array.prototype.flatMap - array-map -
Array.prototype.map - array-foreach (⭐8) -
Array.prototype.forEach - array-includes (⭐42) -
Array.prototype.includes - indexof (⭐15) -
Array.prototype.indexOf. - isarray (⭐119) -
Array.isArray
Browser Features
- cross-fetch (⭐1.4k) -
fetch - cross-blob (⭐10) -
Blob - cross-formdata (⭐1) -
FormData - abortcontroller-polyfill (⭐307) -
AbortController - @fastly/performance-observer-polyfill (⭐29) -
PerformanceObserver - performance-now (⭐0) -
performance.now - console.table (⭐136) -
console.table - webbluetooth (⭐106) -
Bluetooth - resize-observer-polyfill (⭐1.6k) -
ResizeObserver - webcrypto-shim (⭐117) -
crypto - css-vars-ponyfill (⭐1.4k) - CSS variables/custom properties
- raf (⭐734) -
requestAnimationFrame - xhr2 (⭐98) -
XMLHttpRequest