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 |
|---|---|---|---|---|---|---|---|---|
| @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 only | Bundled | AI 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 + CommonJS | Bundled | Polyfills and shims, Testing | |
| details-polyfill Polyfill for the HTML5 `<details>` element | 4.6k | -52% | - | 5 years ago 1.2.0 | CommonJS | None | Polyfills and shims | |
| react-polyfills Polyfills needed for React 16+ | 4.5k | +942% | - | 9 years ago 0.0.1 | CommonJS | None | Polyfills and shims, React | |
| @tanker/file-reader A promisified FileReader for browsers | 4.4k | - | - | - | 1 year ago 4.3.0 | ESM + CommonJS | Bundled | Cryptography 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 only | None | Promises 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 + CommonJS | Bundled | Internationalisation, 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 | CommonJS | None | CLI tools and terminal utilities, Testing |
| @luma.gl/webgl2-polyfill WebGL2 API Polyfills for WebGL1 WebGLRenderingContext | 4.2k | - | - | - | 6 years ago 7.3.2 | ESM + CommonJS | None | 3D, WebGL and game engines, Polyfills and shims |
| polyfill JavaScript polyfills | 4.2k | -25% | - | 13 years ago 0.1.0 | CommonJS | None | Polyfills and shims | |
| yet-another-abortcontroller-polyfill An AbortController Polyfill | 4.2k | +85% | - | 5 years ago 0.0.4 | CommonJS | None | Polyfills and shims | |
| map.prototype.getorinsertcomputed ES Proposal spec-compliant shim for Map.prototype.getOrInsertComputed | 4.2k | +441633% | - | 1 year ago 1.0.1 | CommonJS | None | Polyfills and shims | |
| element-matches-polyfill Element.matches Polyfill | 4.2k | +15% | - | 7 years ago 1.0.0 | CommonJS | None | Polyfills and shims | |
| @neftaly/editcontext-polyfill Polyfill for the EditContext API | 4.1k | - | - | - | 7 months ago 0.1.1 | ESM only | Bundled | Polyfills and shims |
| @d-fischer/cross-fetch Universal WHATWG Fetch API for Node, Browsers and React Native | 4k | - | - | - | 2 years ago 5.0.5 | ESM + CommonJS | Bundled | HTTP clients, React |
| elm-pep npm package for https://github.com/mpizenberg/elm-pep | 4k | +51% | - | 6 years ago 1.0.6 | CommonJS | None | Polyfills and shims | |
| es6-polyfills ES6 polyfills that use native implementation if available and do not pollute the global namespace | 4k | +270% | - | - 2.0.0 | - | None | Polyfills and shims | |
| event-propagation-path Polyfill for the JavaScript Event path/composedPath property | 3.9k | +1115% | - | 8 years ago 1.0.5 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| karma-es6-shim es6-shim adapter for Karma | 3.8k | -27% | - | 10 years ago 1.0.0 | CommonJS | None | Polyfills 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 + CommonJS | Bundled | Polyfills 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 + CommonJS | Bundled | Cryptography 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 | CommonJS | None | CLI 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 | CommonJS | None | Date 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 | - | Bundled | DOM 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 | CommonJS | None | Polyfills and shims | |
| elem-dataset HTML5 HTMLElement.dataset ponyfill | 3.6k | -64% | - | 7 years ago 2.0.0 | ESM + CommonJS | None | Polyfills and shims | |
| @perf-tools/performance User Timing polyfill | 3.6k | - | - | - | 6 years ago 1.1.1 | CommonJS | None | Polyfills and shims |
| playwright-ghost Playwright with plugins to be a ghost. | 3.5k | +813% | - | 3 months ago 0.19.0 | ESM only | Bundled | Scraping 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 + CommonJS | Bundled | Cryptography 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 | CommonJS | None | Polyfills and shims | |
| classlist Element#classList for older browsers. | 3.4k | -34% | - | 8 years ago 2.0.0 | CommonJS | None | Polyfills and shims | |
| message-port-polyfill simple polyfill to MessageChannel and MessagePort API | 3.4k | +100% | - | 7 years ago 0.2.0 | ESM + CommonJS | Bundled | Polyfills and shims | |
| webp-hero webp image format polyfill for browsers | 3.3k | +42% | - | 4 years ago 0.0.2 | ESM + CommonJS | Bundled | Polyfills 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 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| react-dot-fragment Ponyfill for React 16's <React.Fragment> component | 3.3k | -8% | - | 6 years ago 0.2.10 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| shim-loader makes traditional/legacy scripts compatible with webpack | 3.2k | +22% | - | 9 years ago 1.0.1 | CommonJS | None | Polyfills and shims | |
| @undecaf/barcode-detector-polyfill A WebAssembly polyfill for the Barcode Detection API | 3.2k | - | - | - | 1 year ago 0.9.23 | ESM + CommonJS | Bundled | Polyfills and shims |
| bin-shim Runtime shim for distributing native binaries as npm packages via optionalDependencies | 3.1k | - | - | 1 month ago 0.2.2 | ESM only | Bundled | Polyfills 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 | CommonJS | None | Polyfills and shims | |
| avif.js AVIF polyfill for the browser | 3.1k | +273% | - | 7 years ago 0.2.0 | CommonJS | None | Polyfills 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 | CommonJS | None | CLI tools and terminal utilities, Testing |
| srcdoc-polyfill A shim for the iFrame "srcdoc" attribute | 3k | +28% | - | 9 years ago 1.0.0 | CommonJS | None | Polyfills and shims | |
| raf-polyfill Yet Another RequestAnimationFrame Polyfill | 2.9k | -24% | - | 8 years ago 1.0.0 | CommonJS | None | Polyfills 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 | CommonJS | None | Polyfills 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 + CommonJS | None | Polyfills and shims | |
| set-prototype-of Object.setPrototypeOf Polyfill | 2.9k | -67% | - | 10 years ago 1.0.0 | CommonJS | None | Polyfills 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 + CommonJS | 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.
- @joshuaswarren/openclaw-engramDeprecated compatibility shim for Engram installs. Re-exports @remnic/plugin-openclaw and forwards engram-access to @remnic/core.
- window-resizetoA window.resizeTo polyfill for test environments like Jest & JSDOM
- details-polyfillPolyfill for the HTML5 `<details>` element
- react-polyfillsPolyfills needed for React 16+
- @tanker/file-readerA promisified FileReader for browsers
- array-from-asyncAn implementation for Array.fromAsync, which dumps an async iterator into an array.
- intl-relative-time-formatA fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
- @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
- @luma.gl/webgl2-polyfillWebGL2 API Polyfills for WebGL1 WebGLRenderingContext
- polyfillJavaScript polyfills
- yet-another-abortcontroller-polyfillAn AbortController Polyfill
- map.prototype.getorinsertcomputedES Proposal spec-compliant shim for Map.prototype.getOrInsertComputed
- element-matches-polyfillElement.matches Polyfill
- @neftaly/editcontext-polyfillPolyfill for the EditContext API
- @d-fischer/cross-fetchUniversal WHATWG Fetch API for Node, Browsers and React Native
- elm-pepnpm package for https://github.com/mpizenberg/elm-pep
- es6-polyfillsES6 polyfills that use native implementation if available and do not pollute the global namespace
- event-propagation-pathPolyfill for the JavaScript Event path/composedPath property
- string.prototype.splitAn ES spec-compliant `String.prototype.split` shim/polyfill/replacement that works as far down as ES3
- karma-es6-shimes6-shim adapter for Karma
- filedirnameFetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
- webcrypto-linerA WebCrypto polyfill that "smooths out" the rough-edges in existing User Agent implementations.
- @zitterorg/illo-hic-voluptatemReact components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
- date-input-polyfillAutomatically adds datepickers to input[type=date] on IE, Firefox, and OS X Safari.
- gatsby-plugin-smoothscrollPolyfilled smooth scrolling behavior and helper function for Gatsby sites.
- es-constantsAn ES-spec-compliant shim/polyfill/replacement for JS language Math and Number constant values that works as far down as ES3
- elem-datasetHTML5 HTMLElement.dataset ponyfill
- @perf-tools/performanceUser Timing polyfill
- playwright-ghostPlaywright with plugins to be a ghost.
- polyfill-crypto-methodsPolyfill for Crypto instance methods of Web Crypto API
- input-placeholder-polyfillA simple polyfill for IE8 and 9 that populates the value when empty
- classlistElement#classList for older browsers.
- message-port-polyfillsimple polyfill to MessageChannel and MessagePort API
- webp-herowebp image format polyfill for browsers
- array.prototype.joinES spec-compliant `Array.prototype.join` shim/polyfill/replacement that works as far down as ES3.
- array.prototype.sliceES spec-compliant `Array.prototype.slice` shim/polyfill/replacement that works as far down as ES3
- react-dot-fragmentPonyfill for React 16's <React.Fragment> component
- array.prototype.pushAn ES spec-compliant `Array.prototype.push` shim/polyfill/replacement that works as far down as ES3.
- shim-loadermakes traditional/legacy scripts compatible with webpack
- @undecaf/barcode-detector-polyfillA WebAssembly polyfill for the Barcode Detection API
- bin-shimRuntime shim for distributing native binaries as npm packages via optionalDependencies
- dateES spec-compliant `Date` shim/polyfill/replacement that works as far down as ES3
- avif.jsAVIF polyfill for the browser
- @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
- srcdoc-polyfillA shim for the iFrame "srcdoc" attribute
- raf-polyfillYet Another RequestAnimationFrame Polyfill
- micro-es7-shimNo-bullshit super-simple es7 collections shim for Array#includes, Object.values, Object.entries
- loading-attribute-polyfillFast and lightweight dependency-free vanilla JavaScript polyfill for native lazy loading / the awesome loading='lazy'-attribute.
- set-prototype-ofObject.setPrototypeOf Polyfill
- webxr-polyfillUse the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard.