object-assign
ES2015 `Object.assign()` ponyfill
Found 3165 results for polyfill
ES2015 `Object.assign()` ponyfill
Node.js path.parse() ponyfill
ES2019 spec-compliant String.prototype.trimEnd shim.
Determine if the JS environment has Symbol support. Supports spec, or shams.
The `util.is*` functions introduced in Node v0.12.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Use node's fs.realpath, but fall back to the JS implementation if the native one fails
A small polyfill for Object.setprototypeof
`Start a promise chain
ES6 spec-compliant RegExp.prototype.flags shim.
An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.
ES6 spec-compliant Object.assign shim. From https://github.com/es-shims/es6-shim
ES5 spec-compliant shim for String.prototype.trim
ES spec-compliant shim for ArrayBuffer.prototype.slice
ES2019 spec-compliant String.prototype.trimStart shim.
An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.
Standard library
An ES2015 spec-compliant `Function.prototype.name` shim
ECMAScript spec-compliant polyfill/shim for `globalThis`
ES2017 spec-compliant Object.values shim.
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
ES2015-compliant shim for Object.is - differentiates between -0 and +0
ES proposal-spec-compliant Object.fromEntries shim.
An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
Web Streams, based on the WHATWG spec reference implementation
An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
ES2017 spec-compliant Object.entries shim.
Symbol.observable ponyfill
An ESnext spec-compliant `Array.prototype.toSorted` shim/polyfill/replacement that works as far down as ES3.
TypedArray polyfill for old browsers
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.
An ESnext spec-compliant `Object.groupBy` shim/polyfill/replacement that works as far down as ES3.
A robust & optimized `String.prototype.includes` polyfill, based on the ECMAScript 6 specification.
An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.
WASI polyfill for browser and some wasm util
Standard library
requestAnimationFrame polyfill for node and the browser
ES2015 Promise ponyfill
A lightweight library that provides tools for organizing asynchronous code
Assign the enumerable es6 Symbol properties from one or more objects to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.
AbortController for Node based on EventEmitter
ECMAScript 6 Symbol polyfill
ECMAScript extensions and shims
ES2017 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.
HTML5 `FormData` for Browsers and Node.
An ES5 spec-compliant `Array.prototype.reduce` shim/polyfill/replacement that works as far down as ES3.
Node.js os.homedir polyfill for older versions of node.js.
ES2015-compliant shim for Number.isNaN - the global isNaN returns false positives.
Use the :focus-within pseudo-selector in CSS
Style form elements when they are empty
A JavaScript (JS) Map or Similar object polyfill if Map is not available.
A polyfill for the Resize Observer API
Polyfill/shim for util.promisify in node versions < v8
JavaScript utilities with respect to emerging standard
ES spec-compliant shim for Object.hasOwn
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Style elements relative to other elements in CSS
Node.js path.dirname() ponyfill
A pseudo-class for matching elements in a selector list
Object.fromEntries() ponyfill (in 6 lines)
ES2015 `Array#findIndex()` ponyfill
A tiny, zero-dependency yet spec-compliant asynchronous iterator polyfill/ponyfill for ReadableStreams.
Use the :dir pseudo-class in CSS
Polyfill crypto.randomUUID
Bare minimum fetch polyfill in 500 bytes
Polyfills the ResizeObserver API and supports box size options from the latest spec
ES2017 spec-compliant String.prototype.padEnd shim.
backwards compatible version of builtin events.listenercount
This is a polyfill for Buffer#indexOf introduced in NodeJS 4.0.
Performance timer based on performance.mark() and measure()
is that thing a function? Use this module to find out
Polyfills for React Native.
Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center
An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.
Minimal zero-dependency utilities for using JavaScript Iterables in all environments.
Error.captureStackTrace ponyfill
Common layer to be used by crypto libraries based on WebCrypto API for input validation.
ES spec-compliant shim for TypedArray.prototype.slice
Array.prototype.find ES6 polyfill.
Simple setImmediate shim
An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.
ECMAScript6 Map polyfill
Polyfill for the Encoding Living Standard's API.
Fork of eventsource package - W3C compliant EventSource client for Node.js and browser (polyfill)
Polyfill exporting trevnorris's 0.11+ asyncListener API.
A ponyfill for the ES 2015 (ES6) `Array.from()`.
ECMAScript 2015 (ES6) Object.assign polyfill and ponyfill
Support any Observable library and polyfill
A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers, NodeJs, Deno and iframes
ES Proposal spec-compliant shim for AggregateError
ES Proposal spec-compliant shim for Promise.allSettled
An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.
Path2D API for node. Can be used for server-side rendering with canvas
Polyfill Node.js core modules in Webpack.
A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.
Polyfill for: https://tc39.es/proposal-intl-displaynames
A cross platform Promise.allSettled polyfill
Polyfill for the proposed React context API
ES Proposal spec-compliant shim for Promise.prototype.finally
ECMAScript 5 compatibility shims for legacy JavaScript engines
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.
A lightweight and trustworthy URL polyfill for React Native
ES2019 spec-compliant String.prototype.trimLeft shim.
Spec-compliant shim for Symbol.prototype.description proposal.
ES2017 spec-compliant String.prototype.padStart shim.
Polyfill for the proposed React context API
ES2019 spec-compliant String.prototype.trimLeft shim.
ES2015 spec-compliant shim for Reflect.ownKeys
Polyfills Path2D api for canvas rendering
Fake IndexedDB: a pure JS in-memory implementation of the IndexedDB API
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
A ponyfill (doesn't overwrite the native methods) to use Edge Runtime APIs in any environment.
A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.
finds an item in an array matching a predicate function, and returns its index
Text Decoder
Polyfill the ECMA-402 Intl API (except collation)
The fastest smallest Javascript polyfill for the encode of TextEncoder and decode of TextDecoder for UTF-8 only. Made by AnonyCo with ❤️ from 🐕s.
A polyfill for http://www.w3.org/TR/eventsource/
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
Smooth Scroll behavior polyfill
ES2015 (ES6) Number.isInteger polyfill
Polyfill/shim for `document.contains`
Ensure a path doesn't contain null bytes
a simple polyfill for javascript URLSearchParams
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
EventSource polyfill for browser and node.js
A polyfill for creating CustomEvents on IE9+ if the native implementation is missing.
Return the prototype of a provided object.
Ponyfill for ES2020 Intl.NumberFormat
Intl.MessageFormat / Unicode MessageFormat 2 parser, runtime and polyfill
ECMAScript6 WeakMap polyfill
Cross-browser JavaScript shim that fully implements element.classList (referenced on MDN)
Polyfill for Intl.PluralRules
Polyfill for perf_hooks.monitorEventLoopDelay(...)
Test whether a path exists on the filesystem.
Polyfills nodejs builtin modules and globals for the browser.
Blob.js implements the W3C Blob interface in browsers that do not natively support it.
Intl.DateTimeFormat polyfill
A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)
Mouse state change listener
Cross browser mouse event property access
JavaScript implementation of the Web Animations API
HTML Custom Elements Polyfill
Polyfill for Scoped CSS
The URLSearchParams polyfill.
A Javascript polyfill for browsers that don't support the object-fit CSS property
An implementation and polyfill of the Resize Observer draft.
Return the closest element matching a selector up the DOM tree
Web Components Polyfills
An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.
Promise.witResolvers() polyfill
A polyfill for the asynchronous clipboard API
WebGL2 API Polyfills for WebGL1 WebGLRenderingContext
A polyfill for the encryptionScheme field in EME
ES 2021 spec-compliant shim for Promise.any
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Constructible style sheets/adopted style sheets polyfill
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers
Ponyfill for smooth scrolling elements into view (if needed!)
A polyfill for the proposed inert API
A Barcode Detection API polyfill that uses ZXing webassembly under the hood
Polyfill object-fit and object-position on images on IE9, IE10, IE11, Edge, Safari, ...
Polyfill for the Proxy object
Deno namespace shim for Node.js
Polyfill for navigator.sendBeacon()
Wrapper for the Page Visibility API
An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.
Polyfill for RFC 566: @cached
Polyfill for RFC 580: Destroyables
A fork of create-react-context in MIT license
An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3
polyfill for `KeyboardEvent.prototype.key`
A polyfill for Ember CLI's TypeScript blueprint capabilities.
An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
A polyfill for the Record and Tuple Stage 2 ECMAScript proposal.
Javascript Error Polyfill
MediaRecorder polyfill to record audio in Edge and Safari
Polyfill requestAnimationFrame and cancelAnimationFrame
A cross browser solution to scrolling during drag and drop.
This package includes the [core-js](https://github.com/zloirock/core-js) polyfill for `String#replaceAll`, along with TypeScript typings.
A robust & optimized `String.prototype.startsWith` polyfill, based on the ECMAScript 6 specification.
Polyfill for the basic functionality of `Function.name` accessor property in its pre-ES6 form
Popover Attribute Polyfill
Smooth Scroll behavior polyfill
A Javascript utility library for working with native objects.
A polyfill for the element internals specification
PostCSS plugin for Flexibility polyfill
JavaScript polyfill for the WHATWG spec of focusOptions, that enables a set of options to be passed to the focus method.
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.
CSSOM-valid and jsdom/Jest-compatible matchMedia polyfill for server-side unit tests
Polyfill for ES6 Promise
Standard library
A minimal polyfill for Element.closest
A JavaScript polyfill for Flexbox
Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
A polyfill for Ember.assign in <= 2.4
CanvasRenderingContext2D.roundRect() and Path2D.roundRect() polyfill
ECMAScript 7 compatibility shims for legacy JavaScript engines
MDN polyfills
A polyfill for the 'scroll-behavior' CSS-property
Returns the first index at which a given element can be found.
Quick wrapper that finds TextDecoder or polyfills a bad implementation
Polyfill for CSS `position: sticky`
<form>.requestSubmit() polyfill
Polyfill for making HTML5 drag and drop possible in all browsers.
A polyfill for crypto.randomFill and crypto.randomFillSync from Node.js core
Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.
Node's util.inspect, extracted for use on the Web
A polyfill that fetches external SVGs referenced in use elements when the browser itself fails to do so.
Round a double-precision floating-point number toward zero.
Browser polyfill for making React Native compatible with web libs like pixi.js, three.js, phaser.js
W3C's Fullscreen API Polyfill
Return the first index at which a given element can be found.
Simple ES6 Object.assign() polyfill for older environments.
User Timing polyfill
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.
A robust & optimized `String.prototype.endsWith` polyfill, based on the ECMAScript 6 specification.
An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3
A polyfill for the Resize Observer API
All inclusive customElements polyfill for every browser
Object.fromEntries() polyfill
HTML <details> element polyfill
WebAssembly interpreter
Validate your forms, frontend, without writing a single line of javascript!
Scoped CustomElementRegistry Polyfill
An EventTarget polyfill
Polyfill/shim for stream.finished in node versions < v10
`Object.entries()` ponyfill
Runtime polyfills for TypeScript libs, powered by core-js!
Compatibility layer for efficient streaming of binary data using [WHATWG Streams](https://streams.spec.whatwg.org/)
React component for anchor links using the smoothscroll polyfill.
Polyfill for the proposed CSS anchor positioning spec
A polyfill for the native import() in the browser
An ES-spec-compliant Set shim/polyfill/replacement that works as far down as ES3
An ESnext spec-compliant `DisposableStack`, `AsyncDisposableStack`, `Symbol.dispose`, and `Symbol.asyncDispose` shim/polyfill/replacement that works as far down as ES3.
ES Proposal spec-compliant shim for SuppressedError
Polyfill/shim for stream.pipeline in node versions < v10
Object.setPrototypeOf Polyfill
A cross browser solution to scrolling during drag and drop.
Polyfills and patches missing or partially supported web and core APIs
An ES-spec-compliant Map shim/polyfill/replacement that works as far down as ES3
An ESnext spec-compliant `Set.prototype.difference` shim/polyfill/replacement that works as far down as ES3
Standardizer for node's console.assert
A polyfill of IntersectionObserver API
Patches global.Promise to use bluebird and returns a bluebird instance
A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)
fs.promises polyfill