JavaScript Polyfill

Open-source JavaScript projects categorized as Polyfill Edit details

Top 23 JavaScript Polyfill Projects

  • window.fetch polyfill

    A window.fetch JavaScript polyfill.

    Project mention: Is this possible? | reddit.com/r/webdev | 2022-08-18
  • core-js

    Standard Library

    Project mention: Upcoming ECMAScript features I'm excited about | dev.to | 2022-07-22

    Proposal, Polyfill

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • history.js

    History.js gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers. Including continued support for data, titles, replaceState. Supports jQuery, MooTools and Prototype. For HTML5 browsers this means that you can modify the URL directly, without needing to use hashes anymore. For HTML4 browsers it will revert back to using the old onhashchange functionality.

    Project mention: How do I actually use history.js on my site | reddit.com/r/codehunter | 2022-08-31

    I've read all the posts about history.js on stackoverflow including, this, this and this and at looked the source code but as a newcomer to javascript/jquery I'm having trouble figuring out how to actually implement to have html 5 history support and fallback to support html4 browsers such as ie8/9. As I can appreciate the UX benefits from presenting consistent URL's as much as possible, how this solves deep linking and allows for bookmarking I want to implement but I get a bit lost when trying to actually use this on my site.

  • unfetch

    🐕 Bare minimum 500b fetch polyfill.

  • Sugar

    A Javascript library for working with native objects.

    Project mention: Any bad experience with libraries such as date-fns.js or sugar.js (instead of moment.js) with Netsuite SuiteScript 2.X? (xposted from /r/Netsuite) | reddit.com/r/SuiteScript | 2021-10-18

    I've been meaning to use moment.js for a long time in Netsuite but instead always jimmied around with native javascript date functions. Finally getting around to doing some basic functions with moment.js in a couple of solutions, but non-Netsuite developers are telling me date-fns.js is more intuitive and lightweight than moment.js. Also there are other libraries like sugar.js with functions like "Date.create('last week Friday');" which look like it would be fun to use with N/query or N/search.

  • adapter

    Shim to insulate apps from spec changes and prefix differences. Latest adapter.js release:

  • dialog-polyfill

    Polyfill for the HTML dialog element

    Project mention: La espera terminó: el elemento <dialog> alcanza pleno soporte | dev.to | 2022-04-19
  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • rangeslider.js

    🎚 HTML5 input range slider element polyfill

  • resize-observer-polyfill

    A polyfill for the Resize Observer API

  • css-vars-ponyfill

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

    Project mention: Is it safe to use css variables ? | reddit.com/r/css | 2022-08-10

    Yes. If you still have IE users, there’s a ponyfill for that.

  • broadcast-channel

    :satellite: BroadcastChannel to send data between different browser-tabs or nodejs-processes :satellite: + LeaderElection over the channels

    Project mention: How to Logout of Multiple Tabs | React Web App | dev.to | 2022-05-20

    Go ahead in your terminal a install this dependency npm i broadcast-channel To learn more about Broadcast Channel API , I encourage you to go on the following links: [https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API] [https://github.com/pubkey/broadcast-channel]

  • proxy-polyfill

    Proxy object polyfill

    Project mention: Smallest React State lib ever? | reddit.com/r/reactjs | 2022-01-22

    Didn't know about it, looks like Proxy can be polyfilled in RN: https://github.com/GoogleChrome/proxy-polyfill

  • jsbi

    JSBI is a pure-JavaScript implementation of the official ECMAScript BigInt proposal.

    Project mention: TypeError: Cannot read property 'BigInt' of undefined | reddit.com/r/typescript | 2022-05-04

    I looked at the repository: https://github.com/GoogleChromeLabs/jsbi

  • webassemblyjs

    Toolchain for WebAssembly

    Project mention: the eye-opener commit | reddit.com/r/ProgrammerHumor | 2022-09-18

    So now, to try to dig ourselves out of this fuckery we have to build emulation layers for the considered solution to run on the stupid solution.

  • css-paint-polyfill

    CSS Custom Paint / Paint Worklet polyfill with special browser optimizations.

    Project mention: Css Houdini Implementation | reddit.com/r/firefox | 2022-05-11

    That said, while polyfills aren't necessarily possible for all of the APIs, there is one at least for the Paint API which claims to get reasonably good performance. So if you're use-cases aren't too advanced, it might be a viable option.

  • avif.js

    :shipit: AVIF polyfill for the browser

    Project mention: What is AVIF? | dev.to | 2022-04-26

    The main downside is the lack of browser and CDN support. To use AVIF in your website today, you'll have to employ progressive enhancement, the type of which depends on how you're hosting your images. Another option is a polyfill. The other downside is the slow encoding speed and higher CPU requirements, which make dynamically creating images harder. However, the team has already made massive strides in speed in the short time AVIF has been around.

  • loading-attribute-polyfill

    Fast and lightweight dependency-free vanilla JavaScript polyfill for native lazy loading / the awesome loading='lazy'-attribute.

  • standardized-audio-context

    A cross-browser wrapper for the Web Audio API which aims to closely follow the standard.

    Project mention: Any good articles, guides, tutorial about working with Web Audio API and/or Tone.js? | reddit.com/r/webdev | 2022-01-27

    Potentially a repo that might come in handy: - https://github.com/chrisguttandin/standardized-audio-context/. This lib aims to standardize Web Audio API behavior across browsers, as not all browser support is the same. I have found it quite handy.

  • details-element-polyfill

    <details>

  • polyfill

    Set of all Javascript polyfills (by behnammodi)

    Project mention: Learn how to flatten an array using the Reduce Method | reddit.com/r/learnjavascript | 2022-08-08
  • github-wc-polyfill

    Ensure that all GitHub and GitLab scripts required for UXP and SeaMonkey are loaded correctly

    Project mention: Argh.. GitHub is broken again | news.ycombinator.com | 2022-02-17
  • fromentries

    Object.fromEntries() ponyfill (in 6 lines)

  • form-request-submit-polyfill

    Project mention: Filter, search, and sort tables with Rails and Turbo Frames | dev.to | 2021-10-15

    Note that requestSubmit needs a polyfill for support on Safari and IE11. As an alternative to requestSubmit, if you are using Rails/ujs in your application, Rails.fire(this.formTarget, 'submit') works without a polyfill.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-09-18.

JavaScript Polyfill related posts

Index

What are some of the best open-source Polyfill projects in JavaScript? This list will help you:

Project Stars
1 window.fetch polyfill 25,464
2 core-js 17,412
3 history.js 10,779
4 unfetch 5,397
5 Sugar 4,485
6 adapter 3,262
7 dialog-polyfill 2,322
8 rangeslider.js 2,162
9 resize-observer-polyfill 1,623
10 css-vars-ponyfill 1,392
11 broadcast-channel 1,356
12 proxy-polyfill 1,079
13 jsbi 799
14 webassemblyjs 685
15 css-paint-polyfill 683
16 avif.js 578
17 loading-attribute-polyfill 561
18 standardized-audio-context 454
19 details-element-polyfill 232
20 polyfill 117
21 github-wc-polyfill 90
22 fromentries 64
23 form-request-submit-polyfill 59
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
www.influxdata.com