Displaying 1 to 20 from 108 results

es6-shim - ECMAScript 6 compatibility shims for legacy JavaScript engines

  •    Javascript

Provides compatibility shims so that legacy JavaScript engines behave as closely as possible to ECMAScript 6 (Harmony).In both browser and node you may also want to include unorm; see the String.prototype.normalize section for details.

classList.js - Cross-browser element.classList

  •    Javascript

classList.js is a cross-browser JavaScript shim that fully implements element.classList. Refer to the MDN page on element.classList for more information.This works in every browser except IE 7 or earlier.

browserify-shim - 📩 Makes CommonJS incompatible files browserifyable.

  •    Javascript

For a version compatible with browserify@1.x run npm install browserify-shim@1.x instead. For a version compatible with the v2 API npm install browserify-shim@2.x instead.

rewire - Easy monkey-patching for node.js unit tests

  •    Javascript

Please note: The current version of rewire is only compatible with CommonJS modules. See Limitations. rewire acts exactly like require. With just one difference: Your module will now export a special setter and getter for private variables.




Imager.js - Responsive images while we wait for srcset to finish cooking

  •    Javascript

Imager.js is an alternative solution to the issue of how to handle responsive image loading, created by developers at BBC News. There are many responsive image solutions in the wild: srcset, src-n, PictureFill and so on. They are either verbose or hard to debug (and to maintain/integrate). Some of them don't deal well with pixel density and suffer from double asset payload (meaning you end up downloading assets unnecessarily).

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.

object-fit-images - 🗻 Polyfill object-fit/object-position on <img>: IE9, IE10, IE11, Edge, Safari,

  •    Javascript

🗻 Polyfill object-fit/object-position on <img>: IE9, IE10, IE11, Edge, Safari, ... To generate the font-family automatically, you can use the PostCSS plugin or the SCSS/SASS/Less mixins.

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.


object-assign - ES2015 Object.assign() ponyfill

  •    Javascript

Node.js 4 and up, as well as every evergreen browser (Chrome, Edge, Firefox, Opera, Safari), support Object.assign() 🎉. If you target only those environments, then by all means, use Object.assign() instead of this package.Assigns enumerable own properties of source objects to the target object and returns the target object. Additional source objects will overwrite previous ones.

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.

rtc-everywhere - Cross-everything WebRTC mega-project

  •    Javascript

Sick of the incompatible mess of vendor prefixes, adapters, plugins, extensions, and native modules? rtc-everywhere aims to provide a spec-compliant WebRTC implementation in as many environments as possible. Similar to the specification, but slightly adjusted to have an easier API.

Qt.py - Minimal Python 2 & 3 shim around all Qt bindings - PySide, PySide2, PyQt4 and PyQt5.

  •    Python

Qt.py enables you to write software that runs on any of the 4 supported bindings - PySide2, PyQt5, PySide and PyQt4. Write once, run in any binding.

es6-collections - Map, WeakMap, and Set fast/simple shim for Harmony collections

  •    Javascript

This is a very old polyfill which served old browser decently for the last 4+ years. I am not actively maintaining this project but I would eventually accept PRs if you really need to use it. The aim of this repository is to provide an unobtrusive, performances oriented shim for ES6 collections such WeakMap, Map, and Set.

mobile-drag-drop - A drop-in shim to allow you to use existing html5 drag'n'drop code with mobile browsers

  •    TypeScript

The HTML 5 drag'n'drop API allows you to implement drag'n'drop on most desktop browsers. Luckily, browsers give us enough tools to make it happen ourselves. If you drop this package in your page your existing HTML 5 drag'n'drop code should just work (*almost).

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.

poly - Small, fast, awesome

  •    Javascript

poly.js is the a collection of UMD modules that shim (aka "polyfill") old environments to support modern (aka "ES5-ish" and "ES6-ish") javascript. (Previous poly module can be found as poly.shell)