awesome-ponyfills
awesome-ponyfills copied to clipboard
A curated list of awesome ponyfills for writing cross-platform and cross-browser code.
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
- Uncategorised
- Numbers
- Strings
- Objects
- Arrays
- Browser Features
- Node.js Features
Articles
Main
- ⭐️ core-js-pure - The entire standard library.
Uncategorised
-
es6-promise -
Promise
-
es6-map -
Map
-
es6-weak-map -
WeakMap
-
es6-set -
Set
-
es6-symbol -
Symbol
-
named-regexp-groups -
RegExp
-
globalthis -
globalThis
Numbers
-
bignumber.js -
BigInt
-
number-is-nan -
Number.isNaN
-
is-finite -
Number.isFinite
-
is-integer -
Number.isInteger
Strings
-
indexof -
String.prototype.indexOf
-
string.prototype.trim -
String.prototype.trim
-
string.prototype.trimleft -
String.prototype.trimStart
-
string.prototype.trimright -
String.prototype.trimEnd
-
string.prototype.replaceall -
String.prototype.replaceAll
Objects
-
object.fromentries -
Object.fromEntries
-
object.entries -
Object.entries
-
object-keys -
Object.keys
-
object.values -
Object.values
-
object-assign -
Object.assign
-
object-is -
Object.is
-
json3 -
JSON
Arrays
-
array-from -
Array.from
-
array.prototype.every -
Array.prototype.every
-
array.prototype.find -
Array.prototype.find
-
array.prototype.some -
Array.prototype.some
-
array.prototype.flatmap -
Array.prototype.flatMap
-
array-map -
Array.prototype.map
-
array-foreach -
Array.prototype.forEach
-
array-includes -
Array.prototype.includes
-
indexof -
Array.prototype.indexOf
. -
isarray -
Array.isArray
Browser Features
-
cross-fetch -
fetch
-
cross-blob -
Blob
-
cross-formdata -
FormData
-
abortcontroller-polyfill -
AbortController
-
@fastly/performance-observer-polyfill -
PerformanceObserver
-
performance-now -
performance.now
-
console.table -
console.table
-
webbluetooth -
Bluetooth
-
resize-observer-polyfill -
ResizeObserver
-
webcrypto-shim -
crypto
- css-vars-ponyfill - CSS variables/custom properties
-
raf -
requestAnimationFrame
-
xhr2 -
XMLHttpRequest