JSPM

Found 3165 results for polyfill

css-has-pseudo

Style elements relative to other elements in CSS

  • v7.0.3
  • 66.36
  • Published

@sec-ant/readable-stream

A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.

  • v0.6.0
  • 65.98
  • Published

unfetch

Bare minimum fetch polyfill in 500 bytes

  • v5.0.0
  • 65.32
  • Published

@juggle/resize-observer

Polyfills the ResizeObserver API and supports box size options from the latest spec

  • v3.4.0
  • 65.05
  • Published

is-function

is that thing a function? Use this module to find out

  • v1.0.2
  • 64.70
  • Published

listenercount

backwards compatible version of builtin events.listenercount

  • v1.0.1
  • 64.35
  • Published

marky

Performance timer based on performance.mark() and measure()

  • v1.3.0
  • 64.13
  • Published

array.prototype.map

An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.

  • v1.0.8
  • 64.08
  • Published

scroll-into-view-if-needed

Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center

  • v3.1.0
  • 63.38
  • Published

iterall

Minimal zero-dependency utilities for using JavaScript Iterables in all environments.

  • v1.3.0
  • 63.16
  • Published

es6-map

ECMAScript6 Map polyfill

  • v0.1.5
  • 62.89
  • Published

array.prototype.toreversed

An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.

  • v1.1.2
  • 62.63
  • Published

array-from

A ponyfill for the ES 2015 (ES6) `Array.from()`.

  • v2.1.1
  • 62.40
  • Published

webcrypto-core

Common layer to be used by crypto libraries based on WebCrypto API for input validation.

  • v1.8.1
  • 62.13
  • Published

async-listener

Polyfill exporting trevnorris's 0.11+ asyncListener API.

  • v0.6.10
  • 61.79
  • Published

es6-object-assign

ECMAScript 2015 (ES6) Object.assign polyfill and ponyfill

  • v1.1.0
  • 61.77
  • Published

launchdarkly-eventsource

Fork of eventsource package - W3C compliant EventSource client for Node.js and browser (polyfill)

  • v2.2.0
  • 61.74
  • Published

broadcast-channel

A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers, NodeJs, Deno and iframes

  • v7.1.0
  • 61.70
  • Published

any-observable

Support any Observable library and polyfill

  • v0.5.1
  • 61.50
  • Published

string.fromcodepoint

A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.

  • v1.0.3
  • 61.31
  • Published

es-aggregate-error

ES Proposal spec-compliant shim for AggregateError

  • v1.0.14
  • 61.13
  • Published

promise.allsettled

ES Proposal spec-compliant shim for Promise.allSettled

  • v1.0.7
  • 61.13
  • Published

array.prototype.filter

An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.

  • v1.0.4
  • 60.98
  • Published

path2d

Path2D API for node. Can be used for server-side rendering with canvas

  • v0.3.1
  • 60.85
  • Published

es5-shim

ECMAScript 5 compatibility shims for legacy JavaScript engines

  • v4.6.7
  • 60.34
  • Published

react-native-get-random-values

A small implementation of `crypto.getRandomValues` for React Native. This is useful to polyfill for libraries like [uuid](https://www.npmjs.com/package/uuid) that depend on it.

  • v1.11.0
  • 59.71
  • Published

reflect.ownkeys

ES2015 spec-compliant shim for Reflect.ownKeys

  • v1.1.5
  • 59.30
  • Published

array-find

ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.

  • v1.0.0
  • 58.76
  • Published

path2d-polyfill

Polyfills Path2D api for canvas rendering

  • v3.2.1
  • 58.51
  • Published

fake-indexeddb

Fake IndexedDB: a pure JS in-memory implementation of the IndexedDB API

  • v6.1.0
  • 58.35
  • Published

@edge-runtime/ponyfill

A ponyfill (doesn't overwrite the native methods) to use Edge Runtime APIs in any environment.

  • v4.0.0
  • 58.18
  • Published

string.prototype.codepointat

A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.

  • v1.0.1
  • 57.91
  • Published

fastestsmallesttextencoderdecoder

The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with ❤️ from 🐕s.

  • v1.0.22
  • 57.88
  • Published

find-index

finds an item in an array matching a predicate function, and returns its index

  • v1.1.1
  • 57.68
  • Published

intl

Polyfill the ECMA-402 Intl API (except collation)

  • v1.2.5
  • 57.43
  • Published

well-known-symbols

An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.

  • v4.1.0
  • 57.20
  • Published

null-check

Ensure a path doesn't contain null bytes

  • v3.0.0
  • 56.57
  • Published

is-integer

ES2015 (ES6) Number.isInteger polyfill

  • v1.0.7
  • 56.44
  • Published

@nevware21/ts-utils

Comprehensive TypeScript/JavaScript utility library with cross-environment support (Node.js, browser, web worker) providing helper functions, polyfills (ES5-ES2023), type checking utilities, and optimized implementations for better minification and code r

  • v0.12.5
  • 55.81
  • Published

classlist-polyfill

Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)

  • v1.2.0
  • 55.35
  • Published

custom-event-polyfill

A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.

  • v1.0.7
  • 55.31
  • Published

messageformat

Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill

  • v4.0.0-12
  • 54.96
  • Published

@stdlib/fs-exists

Test whether a path exists on the filesystem.

  • v0.2.2
  • 54.52
  • Published

blob-polyfill

Blob.js implements the W3C Blob interface in browsers that do not natively support it.

  • v9.0.20240710
  • 54.12
  • Published

eventsource-polyfill

A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)

  • v0.9.6
  • 53.55
  • Published

mouse-change

Mouse state change listener

  • v1.4.0
  • 53.50
  • Published

mouse-event

Cross browser mouse event property access

  • v1.0.5
  • 53.50
  • Published

web-animations-js

JavaScript implementation of the Web Animations API

  • v2.3.2
  • 53.35
  • Published

objectFitPolyfill

A Javascript polyfill for browsers that don't support the object-fit CSS property

  • v2.3.5
  • 52.86
  • Published

resize-observer

An implementation and polyfill of the Resize Observer draft.

  • v1.0.4
  • 51.95
  • Published

array.prototype.every

An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.

  • v1.1.7
  • 51.87
  • Published

element-closest

Return the closest element matching a selector up the DOM tree

  • v3.0.2
  • 51.84
  • Published

clipboard-polyfill

A polyfill for the asynchronous clipboard API

  • v4.1.1
  • 50.97
  • Published

@luma.gl/gltools

WebGL2 API Polyfills for WebGL1 WebGLRenderingContext

  • v8.5.21
  • 50.90
  • Published

promise.any

ES 2021 spec-compliant shim for Promise.any

  • v2.0.6
  • 50.51
  • Published

css-vars-ponyfill

Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers

  • v2.4.9
  • 50.51
  • Published

regexp.escape

A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping

  • v2.0.1
  • 50.28
  • Published

visibilityjs

Wrapper for the Page Visibility API

  • v2.0.2
  • 49.78
  • Published

wicg-inert

A polyfill for the proposed inert API

  • v3.1.3
  • 49.68
  • Published

barcode-detector

A Barcode Detection API polyfill that uses ZXing webassembly under the hood

  • v3.0.5
  • 49.52
  • Published

proxy-polyfill

Polyfill for the Proxy object

  • v0.3.2
  • 49.51
  • Published

object-fit-images

Polyfill object-fit and object-position on images on IE9, IE10, IE11, Edge, Safari, ...

  • v3.2.4
  • 49.46
  • Published

array.prototype.foreach

An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.

  • v1.0.7
  • 48.96
  • Published

array.prototype.at

An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3

  • v1.1.3
  • 48.55
  • Published

function.name-polyfill

Polyfill for the basic functionality of `Function.name` accessor property in its pre-ES6 form

  • v1.0.6
  • 48.26
  • Published

object.getprototypeof

An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible

  • v1.0.7
  • 48.16
  • Published

string.prototype.startswith

A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.

  • v1.0.1
  • 47.77
  • Published

ts-replace-all

This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.

  • v1.0.0
  • 47.51
  • Published

sugar

A Javascript utility library for working with native objects.

  • v2.0.6
  • 46.99
  • Published

focus-options-polyfill

JavaScript polyfill for the WHATWG spec of focusOptions, that enables a set of options to be passed to the focus method.

  • v1.6.0
  • 46.70
  • Published

mq-polyfill

CSSOM-valid and jsdom/Jest-compatible matchMedia polyfill for server-side unit tests

  • v1.1.8
  • 46.41
  • Published

transit-js

Transit is a data format and a set of libraries for conveying values between applications written in different languages. This library provides support for marshalling Transit data to/from Javascript.

  • v0.8.874
  • 46.15
  • Published

flexibility

A JavaScript polyfill for Flexbox

  • v2.0.1
  • 46.13
  • Published

element-matches

Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)

  • v0.1.2
  • 45.78
  • Published

random-poly-fill

A polyfill for crypto.randomFill and crypto.randomFillSync from Node.js core

  • v1.0.1
  • 45.73
  • Published

es7-shim

ECMAScript 7 compatibility shims for legacy JavaScript engines

  • v6.0.0
  • 45.72
  • Published

utils-indexof

Returns the first index at which a given element can be found.

  • v1.0.0
  • 45.37
  • Published

@cto.af/textdecoder

Quick wrapper that finds TextDecoder or polyfills a bad implementation

  • v0.2.2
  • 45.17
  • Published

stickyfilljs

Polyfill for CSS `position: sticky`

  • v2.1.0
  • 45.05
  • Published

mobile-drag-drop

Polyfill for making HTML5 drag and drop possible in all browsers.

  • v3.0.0-rc.0
  • 44.93
  • Published

@stdlib/utils-index-of

Return the first index at which a given element can be found.

  • v0.2.2
  • 44.80
  • Published

@expo/browser-polyfill

Browser polyfill for making React Native compatible with web libs like pixi.js, three.js, phaser.js

  • v1.0.1
  • 44.67
  • Published

svgxuse

A polyfill that fetches external SVGs referenced in use elements when the browser itself fails to do so.

  • v1.2.6
  • 44.55
  • Published

iterator-helper

Provide helpers that polyfill all methods defined in [iterator helpers proposal](https://github.com/tc39/proposal-iterator-helpers), both for `Iterator` and `AsyncIterator`, and even more.

  • v1.3.4
  • 44.45
  • Published

string.prototype.endswith

A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.

  • v1.0.2
  • 44.39
  • Published

webassemblyjs

WebAssembly interpreter

  • v1.14.1
  • 44.25
  • Published

error-cause

An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3

  • v1.0.8
  • 43.93
  • Published

parsleyjs

Validate your forms, frontend, without writing a single line of javascript!

  • v2.9.2
  • 43.85
  • Published

stream.finished

Polyfill/shim for stream.finished in node versions < v10

  • v1.2.0
  • 43.75
  • Published

ts-polyfill

Runtime polyfills for TypeScript libs, powered by core-js!

  • v3.8.2
  • 43.26
  • Published

fetch-readablestream

Compatibility layer for efficient streaming of binary data using [WHATWG Streams](https://streams.spec.whatwg.org/)

  • v0.2.0
  • 43.10
  • Published

stream.pipeline-shim

Polyfill/shim for stream.pipeline in node versions < v10

  • v1.1.0
  • 43.01
  • Published

es-set

An ES-spec-compliant Set shim/polyfill/replacement that works as far down as ES3

  • v2.0.1
  • 42.88
  • Published

disposablestack

An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.

  • v1.1.7
  • 42.77
  • Published

set.prototype.difference

An ESnext spec-compliant `Set.prototype.difference` shim/polyfill/replacement that works as far down as ES3

  • v1.1.7
  • 42.59
  • Published

bluebird-global

Patches global.Promise to use bluebird and returns a bluebird instance

  • v1.0.1
  • 42.57
  • Published

fs.promises

fs.promises polyfill

  • v0.1.2
  • 42.53
  • Published

react-web-share

Tiny Web Share API Wrapper with fallback for unsupported browsers

  • v2.0.2
  • 42.50
  • Published

suppressed-error

ES Proposal spec-compliant shim for SuppressedError

  • v1.0.3
  • 42.50
  • Published

es-map

An ES-spec-compliant Map shim/polyfill/replacement that works as far down as ES3

  • v2.0.1
  • 42.45
  • Published

react-dnd-scrollzone

A cross browser solution to scrolling during drag and drop.

  • v5.0.0
  • 42.38
  • Published

browser-filesaver

Cross-browser implementation of W3C saveAs API

  • v1.1.1
  • 42.25
  • Published

console-assert

Standardizer for node's console.assert

  • v1.0.0
  • 42.22
  • Published

object_values

polyfill for es8 Object.values

  • v0.1.2
  • 42.22
  • Published

map-like

ECMAScript Map like object.

  • v2.0.0
  • 42.15
  • Published

aurelia-polyfills

The minimal set of polyfills that the Aurelia platform needs to run on ES5 browsers.

  • v1.3.4
  • 41.97
  • Published

array.prototype.some

An ES5 spec-compliant `Array.prototype.some` shim/polyfill/replacement that works as far down as ES3.

  • v1.1.6
  • 41.75
  • Published

end-with

Determines whether a string ends with the characters of another string.

  • v1.0.2
  • 41.44
  • Published

rangeslider.js

Simple, small and fast jQuery polyfill for the HTML5 <input type="range"> slider element

  • v2.3.3
  • 41.10
  • Published

blocking-elements

A polyfill for the proposed blocking elements stack API

  • v0.1.1
  • 40.84
  • Published

canvas-toBlob

A canvas.toBlob() implementation

  • v1.0.0
  • 40.84
  • Published

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.

  • v1.1.2
  • 40.81
  • Published

dimport

Run ES Module syntax in any browser – even IE!

  • v1.0.0
  • 40.81
  • Published

intl-list-format

A fully spec-compliant polyfill for 'Intl.ListFormat'

  • v1.0.3
  • 40.74
  • Published

webrtc-polyfill

High performance WebRTC polyfill for Node.JS via libdatachannel using Node Native/NAPI.

  • v1.1.10
  • 40.66
  • Published

time-input-polyfill

An accessible polyfill for `[input type='time']` elements modeled after the Chrome & Firefox desktop implementations.

  • v1.0.11
  • 40.65
  • Published

focus-within-polyfill

Small vanilla javascript that feature detect the :focus-within pseudo selector and polyfills it with a standard css class if necessary.

  • v5.2.1
  • 40.59
  • Published

@ungap/trim

An trim polyfill for legacy browsers.

  • v0.2.0
  • 40.54
  • Published

@ungap/weakmap

An essential WeakMap polyfill for legacy browsers.

  • v0.2.1
  • 40.49
  • Published

details-polyfill

Polyfill for the HTML5 `<details>` element

  • v1.2.0
  • 40.37
  • Published

element-qsa-scope

Return elements matching a selector relative to the current node

  • v1.1.0
  • 40.14
  • Published

cross-blob

Cross-platform Blob implementation for NodeJS and the Web.

  • v3.0.2
  • 40.09
  • Published

path-data-polyfill

Polyfill for SVG 2 getPathData() and setPathData() methods

  • v1.0.10
  • 40.07
  • Published

css-supports

CSS.supports() shim

    • v0.1.1
    • 39.97
    • Published

    cookie-store

    A polyfill for the Cookie Store API

    • v3.0.0
    • 39.94
    • Published

    @ungap/import-node

    An importNode polyfill for IE11 and other legacy browsers

    • v0.2.0
    • 39.91
    • Published

    @heroku/eventsource

    W3C compliant EventSource client for Node.js and browser (polyfill)

    • v1.0.7
    • 39.89
    • Published

    core-js-url-browser

    `core-js`'s `web/url.js` prebundled for the browser

    • v3.6.4
    • 39.82
    • Published

    ember-weakmap

    ES2015 WeakMap polyfill for Ember.WeakMap

    • v3.3.2
    • 39.76
    • Published

    @jitsi/sdp-interop

    A simple SDP interoperability layer for Unified Plan/Plan B

    • v1.0.5
    • 39.74
    • Published

    web-streams-ponyfill

    Web Streams, based on the WHATWG spec reference implementation

    • v1.4.2
    • 39.66
    • Published

    storage2

    html5 storage interface for node and browser

    • v0.1.2
    • 39.63
    • Published

    es7-object-polyfill

    A polyfill for missing Object.values / Object.entries

    • v1.0.1
    • 39.63
    • Published

    set.prototype.intersection

    An ESnext spec-compliant `Set.prototype.intersection` shim/polyfill/replacement that works as far down as ES3

    • v1.1.7
    • 39.62
    • Published

    @okikio/sharedworker

    A small mostly spec. compliant polyfill/ponyfill for SharedWorkers, it acts as a drop in replacement for normal Workers, and supports an API surface that matches normal Workers.

    • v1.1.0
    • 39.60
    • Published

    es-dev-server

    Development server for modern web apps

    • v2.1.0
    • 39.42
    • Published

    @fastly/performance-observer-polyfill

    <h1 align="center" style="border-bottom: none;">🔎 PerformanceObserver Polyfill</h1> <p align="center"> <a href="https://travis-ci.org/fastly/performance-observer-polyfill"> <img alt="Travis" src="https://img.shields.io/travis/fastly/performance-obs

    • v2.0.0
    • 39.36
    • Published

    ng-event-source

    This fork provide the following on top of the original:

    • v1.0.14
    • 39.36
    • Published

    typescript-map

    ES6 Map Implemented in TypeScript

    • v0.1.0
    • 39.23
    • Published