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.
ecmascript harmony es6 shim promise promises setprototypeof map set __proto__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.
classlist polyfill shim cross-browserFor 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.
browserify browserify-transform shim global globals transform window commonjsPlease 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.
mock testing unit-testing monkey-patching dependency injection shim module unit test leak inspect fake requireImager.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).
responsive srcset images resize polyfill shim img picturefillNote. 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.
webcomponents web-components polyfill shim🗻 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.
polyfill css js edge ie images object-fit covers contains styles internet explorer ies shim shiv fills srcset backgroundsIt'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.
proposal polyfill shim es6 promise set map weakmap es7 es2015 es2016 es2017 esnext symbol ponyfill🗻 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.
polyfill css js edge ie images backgrounds contains covers explorer fills ies internet object-fit shim shiv srcset stylesImager.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).
responsive srcset images resize polyfill shim img picturefilles5-shim.js and es5-shim.min.js monkey-patch a JavaScript context to contain all EcmaScript 5 methods that can be faithfully emulated with a legacy JavaScript engine. Note: As es5-shim.js is designed to patch the native Javascript engine, it should be the library that is loaded first. es5-sham.js and es5-sham.min.js monkey-patch other ES5 methods as closely as possible. For these methods, as closely as possible to ES5 is not very close. Many of these shams are intended only to allow code to be written to ES5 without causing run-time errors in older engines. In many cases, this means that these shams cause many ES5 methods to silently fail. Decide carefully whether this is what you want. Note: es5-sham.js requires es5-shim.js to be able to work properly.
polyfill ecmascript shim es5 es5-shimNode.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.
object assign extend properties es2015 ecmascript harmony ponyfill prollyfill polyfill shim browserThis is a polyfill for the URLSearchParams API. It is possible to simply include build/url-search-params.js or grab it via npm.
polyfill urlsearchparams dom shimSick 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.
webrtc adapter shim polyfill ios android chrome firefox node safari ortc internet-explorer edge getusermedia rtcpeerconnectionThis 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.
weakmap map set shim polyfill es6 harmonyThe 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).
dragdrop drag-drop html5 shim mobile polyfillA 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.
custom-elements customelements web-components webcomponents polyfill shimMinimally viable DOM Document implementation.
domdocument html serialization html-document shim polyfill preact dom document
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.