autopolyfiller - Autopolyfiller — Precise polyfills

  •        23

This is like Autoprefixer, but for JavaScript polyfills. It scans your code and applies only required polyfills. Live example. Assume you code is Object.keys(window). Object.keys polyfill is required to run it in any browser (include IE7). On the other hand this code can be executed on iOS 7 Safari without any polyfills. AutoPolyfiller knows about ES5 and ES6 features and their support in browsers. It can help you to write cutting-edge JavaScript without thinking about ES shims and shivs.

http://azproduction.github.io/autopolyfiller
https://github.com/azproduction/autopolyfiller

Dependencies:

acorn : ~0.11.0
autopolyfiller-stable : ~1.0.2
browserslist : ~0.1.0
commander : ~2.1.0
debug : ~0.7.4
globule : 0.2.0
minimatch : ^2.0.7
mkdirp : ~0.3.5
node.extend : ~1.0.9
semver : ~2.2.1

Tags
Implementation
License
Platform

   




Related Projects

polyfill - JavaScript Polyfills, Shims and More

  •    Javascript

This is a collection of polyfills covering web platform features, from those defined as part of the ECMAScript standard to new web browser functionality. Most are for features shipping in major browsers. A few are experimental and called out as such, subject to change at any time. My philosophy is that it's better to write future-looking code that takes advantage of new Web platform APIs where possible, and fill in the gaps with polyfills. There is no effort to produce 100% compliant behavior, or to completely hide differences in browser behavior.

core-js - Standard Library

  •    Javascript

It's documentation for the unstable core-js@3, if you looking documentation for core-js@2, please, check this branch. Modular standard library for JavaScript. Includes polyfills for ECMAScript 5, 2015, 2016, 2017: promises, symbols, collections, iterators, typed arrays, many other features, ECMAScript proposals, some cross-platform WHATWG / W3C ECMAScript-related features and proposals like setImmediate. You can load only required features or use it without global namespace pollution.

webcomponentsjs - A suite of polyfills supporting the HTML Web Components specs

  •    HTML

Note. For polyfills that work with the older Custom Elements and Shadow DOM v0 specs, see the v0 branch. Note. For polyfills that include HTML Imports, see the v1 branch.

polyfill - A library to make creating CSS polyfills much easier.

  •    Javascript

UPDATE (2016-12-22): I am no longer supporting this library for all the reasons I address in my post The Dark Side of Polyfilling CSS. If you choose to use this library, please make sure you read the post, so you fully understand the challenges and limitations involved in writing CSS polyfills. Polyfill.js is a library designed to make writing CSS polyfills much, much easier. It's an abstraction library that takes care of the boilerplate, so you can focus on what your polyfill actually does.

proxy-polyfill - Proxy object polyfill

  •    Javascript

This is a polyfill for the Proxy object, part of ES6. See the MDN docs or Introducing ES2015 Proxies for more information on Proxy itself. Unlike other polyfills, this does not require Object.observe, which is deprecated. The polyfill supports just a limited number of proxy 'traps'. It also works by calling seal on the object passed to Proxy. This means that the properties you want to proxy must be known at creation time.


respimage - respimage is a responsive images polyfill, that loads your images fast and responsibly

  •    Javascript

#respimage respimage is a fast, lightweight and robust responsive images polyfill, that saves the users bandwidth by utilizing smart resource selection algorithm. It implements the srcset/sizes attributes as also the picture element. Unlike other responsive images polyfills respimage plays nicely with your graceful degradation / progressive enhancement and image SEO strategy. ##Download and Embed Simply download the respimage.min.js script and add it to your website or bundle it in your normal JS.

polyfill - PHP polyfills

  •    PHP

This project backports features found in the latest PHP versions and provides compatibility layers for some extensions and functions. It is intended to be used when portability across PHP versions and extensions is desired. It is strongly recommended to upgrade your PHP version and/or install the missing extensions whenever possible. This polyfill should be used only when there is no better choice or when portability is a requirement.

polyfill-service - Automatic polyfill service.

  •    Javascript

Polyfill.io is a service which makes web development less frustrating by selectively polyfilling just what the browser needs. Polyfill.io reads the User-Agent header of each request and returns polyfills that are suitable for the requesting browser. Polyfill.io documentation is on the website.

myth - A CSS preprocessor that acts like a polyfill for future versions of the spec.

  •    Javascript

CSS the way it was imagined. Myth is a preprocessor that lets you write pure CSS without having to worry about slow browser support, or even slow spec approval. It's like a CSS polyfill.

ponyfill - 🦄 Like polyfill but with pony pureness

  •    

Use ponyfill.com for linking here.While polyfills are naughty, ponyfills are pure, just like ponies.

ie8 - some damn DOM fix for this damned browser

  •    Javascript

This is year 2017. IE8 was released in 2009. You should not support IE8 anymore. Not even transpilers support it. Be sure you actually really need this polyfill, testing your projects via real IE8 and not some IE11 emulator.

stickybits - Stickybits is a lightweight alternative to `position: sticky` polyfills 🍬

  •    Javascript

Stickybits is a lightweight alternative to position: sticky polyfills. It works perfectly for things like sticky headers. Key Note: Stickybits expects and works best when the element that will become sticky is wrapped within a parent element that defines when the element starts being sticky and stops being sticky. See below for visual reference.

dom-helpers - tiny, extremely modular, DOM helper library for IE8+

  •    Javascript

Mostly just naive wrappers around common DOM API inconsistencies, Cross browser work is minimal and mostly taken from jQuery. This library doesn't do a lot to normalize behavior across browsers, it mostly seeks to provide a common interface, and eliminate the need to write the same damn if (ie8) statements in every project. over and over again, or you need a ok getComputedStyle polyfill but don't want to include all of jQuery, use this.

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

  •    Javascript

JSBI is a pure-JavaScript implementation of the official ECMAScript BigInt proposal, which is on track to become a part of the JavaScript language in the near future. Note: explicitly call toString on any JSBI instances when console.log()ing them to see their numeric representation (e.g. String(max) or max.toString()). Without it (e.g. console.log(max)), you’ll instead see the object that represents the value.

url-search-params - Simple polyfill for URLSearchParams standard

  •    Javascript

This is a polyfill for the URLSearchParams API. It is possible to simply include build/url-search-params.js or grab it via npm.

custom-elements - A polyfill for HTML Custom Elements v1

  •    Javascript

A polyfill for the custom elements v1 spec. API which might trigger custom element reactions in the DOM and HTML specifications are marked with the CEReactions extended attribute.

MutationObserver.js - ES3 Shim for the MutationObserver interface via DOM diffing.

  •    Javascript

A polyfill for the MutationObserver API (can I use?). The polyfill is more cause we can than should (with subtree at any rate)... It's async and uses a recursive timeout fallback (default checks changes every 30ms + runtime) instead of using the deprecated DOM3 MutationEvents so theoretically can support virtually any environment. By default, the polyfill will check observed nodes about 25 times per second (30 ms interval) for mutations. Try running these jsperf.com tests and the JSLitmus tests in the test suite for usage performance tests. It may be worthwile to adapt MutationObserver._period based on UA or heuristics (todo).

dom4 - Modern DOM functionalities for every browser

  •    Javascript

Many thanks to cdnjs for hosting this script. Following an example on how to include it. Both query and queryAll have been removed, while CSS :scope selector has been added.

PEP - Pointer Events Polyfill: a unified event system for the web platform

  •    Javascript

PEP polyfills pointer events in all browsers that haven't yet implemented them, providing a unified, responsive input model for all devices and input types. You can read more about pointer events below. By default, no pointer events are sent from an element. This maximizes the possibility that a browser can deliver smooth scrolling and jank-free gestures. If you want to receive events, you must set the touch-action property of that element. Set up some elements to create events with the touch-action attribute.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.