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
@joshuaswarren/openclaw-engram
Deprecated compatibility shim for Engram installs. Re-exports @remnic/plugin-openclaw and forwards engram-access to @remnic/core.
4.7k---30 days ago
9.69.56
ESM onlyBundledAI and machine learning, Polyfills and shims
window-resizeto
A window.resizeTo polyfill for test environments like Jest & JSDOM
4.6k+88%-6 years ago
0.0.2
ESM + CommonJSBundledPolyfills and shims, Testing
details-polyfill
Polyfill for the HTML5 `<details>` element
4.6k-52%-5 years ago
1.2.0
CommonJSNonePolyfills and shims
react-polyfills
Polyfills needed for React 16+
4.5k+942%-9 years ago
0.0.1
CommonJSNonePolyfills and shims, React
@tanker/file-reader
A promisified FileReader for browsers
4.4k---1 year ago
4.3.0
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
array-from-async
An implementation for Array.fromAsync, which dumps an async iterator into an array.
4.4k+450%-4 years ago
3.0.0
ESM onlyNonePromises and async control flow, Polyfills and shims
intl-relative-time-format
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
4.4k+116%-7 years ago
1.0.7
ESM + CommonJSBundledInternationalisation, Polyfills and shims
@dramaorg/delectus-culpa-reprehenderit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
4.3k---2 years ago
3.5.94
CommonJSNoneCLI tools and terminal utilities, Testing
@luma.gl/webgl2-polyfill
WebGL2 API Polyfills for WebGL1 WebGLRenderingContext
4.2k---6 years ago
7.3.2
ESM + CommonJSNone3D, WebGL and game engines, Polyfills and shims
polyfill
JavaScript polyfills
4.2k-25%-13 years ago
0.1.0
CommonJSNonePolyfills and shims
yet-another-abortcontroller-polyfill
An AbortController Polyfill
4.2k+85%-5 years ago
0.0.4
CommonJSNonePolyfills and shims
map.prototype.getorinsertcomputed
ES Proposal spec-compliant shim for Map.prototype.getOrInsertComputed
4.2k+441633%-1 year ago
1.0.1
CommonJSNonePolyfills and shims
element-matches-polyfill
Element.matches Polyfill
4.2k+15%-7 years ago
1.0.0
CommonJSNonePolyfills and shims
@neftaly/editcontext-polyfill
Polyfill for the EditContext API
4.1k---7 months ago
0.1.1
ESM onlyBundledPolyfills and shims
@d-fischer/cross-fetch
Universal WHATWG Fetch API for Node, Browsers and React Native
4k---2 years ago
5.0.5
ESM + CommonJSBundledHTTP clients, React
elm-pep
npm package for https://github.com/mpizenberg/elm-pep
4k+51%-6 years ago
1.0.6
CommonJSNonePolyfills and shims
es6-polyfills
ES6 polyfills that use native implementation if available and do not pollute the global namespace
4k+270%--
2.0.0
-NonePolyfills and shims
event-propagation-path
Polyfill for the JavaScript Event path/composedPath property
3.9k+1115%-8 years ago
1.0.5
CommonJSNonePolyfills and shims
string.prototype.split
An ES spec-compliant `String.prototype.split` shim/polyfill/replacement that works as far down as ES3
3.8k-37%-2 years ago
1.0.9
CommonJSNonePolyfills and shims
karma-es6-shim
es6-shim adapter for Karma
3.8k-27%-10 years ago
1.0.0
CommonJSNonePolyfills and shims
filedirname
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
3.7k-8%-2 years ago
3.4.0
ESM + CommonJSBundledPolyfills and shims, TypeScript tooling
webcrypto-liner
A WebCrypto polyfill that "smooths out" the rough-edges in existing User Agent implementations.
3.7k+97%-2 years ago
1.4.3
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
@zitterorg/illo-hic-voluptatem
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
3.6k---2 years ago
7.6.72
CommonJSNoneCLI tools and terminal utilities, CSS-in-JS and styling
date-input-polyfill
Automatically adds datepickers to input[type=date] on IE, Firefox, and OS X Safari.
3.6k-20%-9 years ago
2.14.0
CommonJSNoneDate pickers, Polyfills and shims
gatsby-plugin-smoothscroll
Polyfilled smooth scrolling behavior and helper function for Gatsby sites.
3.6k-25%-6 years ago
1.2.0
-BundledDOM and browser utilities, Polyfills and shims
es-constants
An ES-spec-compliant shim/polyfill/replacement for JS language Math and Number constant values that works as far down as ES3
3.6k+226%-3 years ago
1.0.1
CommonJSNonePolyfills and shims
elem-dataset
HTML5 HTMLElement.dataset ponyfill
3.6k-64%-7 years ago
2.0.0
ESM + CommonJSNonePolyfills and shims
@perf-tools/performance
User Timing polyfill
3.6k---6 years ago
1.1.1
CommonJSNonePolyfills and shims
playwright-ghost
Playwright with plugins to be a ghost.
3.5k+813%-3 months ago
0.19.0
ESM onlyBundledScraping and browser automation, Polyfills and shims
polyfill-crypto-methods
Polyfill for Crypto instance methods of Web Crypto API
3.5k+345%-1 year ago
1.0.0
ESM + CommonJSBundledCryptography and hashing, Polyfills and shims
input-placeholder-polyfill
A simple polyfill for IE8 and 9 that populates the value when empty
3.4k-10%-11 years ago
1.0.0
CommonJSNonePolyfills and shims
classlist
Element#classList for older browsers.
3.4k-34%-8 years ago
2.0.0
CommonJSNonePolyfills and shims
message-port-polyfill
simple polyfill to MessageChannel and MessagePort API
3.4k+100%-7 years ago
0.2.0
ESM + CommonJSBundledPolyfills and shims
webp-hero
webp image format polyfill for browsers
3.3k+42%-4 years ago
0.0.2
ESM + CommonJSBundledPolyfills and shims
array.prototype.join
ES spec-compliant `Array.prototype.join` shim/polyfill/replacement that works as far down as ES3.
3.3k-52%-1 year ago
1.0.4
CommonJSNonePolyfills and shims
array.prototype.slice
ES spec-compliant `Array.prototype.slice` shim/polyfill/replacement that works as far down as ES3
3.3k-49%-2 years ago
1.0.3
CommonJSNonePolyfills and shims
react-dot-fragment
Ponyfill for React 16's <React.Fragment> component
3.3k-8%-6 years ago
0.2.10
CommonJSNonePolyfills and shims, React
array.prototype.push
An ES spec-compliant `Array.prototype.push` shim/polyfill/replacement that works as far down as ES3.
3.2k-51%-1 year ago
1.0.7
CommonJSNonePolyfills and shims
shim-loader
makes traditional/legacy scripts compatible with webpack
3.2k+22%-9 years ago
1.0.1
CommonJSNonePolyfills and shims
@undecaf/barcode-detector-polyfill
A WebAssembly polyfill for the Barcode Detection API
3.2k---1 year ago
0.9.23
ESM + CommonJSBundledPolyfills and shims
bin-shim
Runtime shim for distributing native binaries as npm packages via optionalDependencies
3.1k--1 month ago
0.2.2
ESM onlyBundledPolyfills and shims
date
ES spec-compliant `Date` shim/polyfill/replacement that works as far down as ES3
3.1k+5%-1 year ago
2.0.6
CommonJSNonePolyfills and shims
avif.js
AVIF polyfill for the browser
3.1k+273%-7 years ago
0.2.0
CommonJSNonePolyfills and shims
@zitterorg/magni-eos
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
3k---2 years ago
5.8.60
CommonJSNoneCLI tools and terminal utilities, Testing
srcdoc-polyfill
A shim for the iFrame "srcdoc" attribute
3k+28%-9 years ago
1.0.0
CommonJSNonePolyfills and shims
raf-polyfill
Yet Another RequestAnimationFrame Polyfill
2.9k-24%-8 years ago
1.0.0
CommonJSNonePolyfills and shims
micro-es7-shim
No-bullshit super-simple es7 collections shim for Array#includes, Object.values, Object.entries
2.9k+35%-10 years ago
0.1.0
CommonJSNonePolyfills and shims
loading-attribute-polyfill
Fast and lightweight dependency-free vanilla JavaScript polyfill for native lazy loading / the awesome loading='lazy'-attribute.
2.9k-13%-3 years ago
2.1.1
ESM + CommonJSNonePolyfills and shims
set-prototype-of
Object.setPrototypeOf Polyfill
2.9k-67%-10 years ago
1.0.0
CommonJSNonePolyfills and shims
webxr-polyfill
Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard.
2.9k+56%--
2.0.3
ESM + CommonJSNonePolyfills 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.