globalThis

Global access shim

Provides a polyfill for accessing the global object in ECMAScript environments where it is not supported

ECMAScript spec-compliant polyfill/shim for globalThis.

GitHub

155 stars
7 watching
14 forks
Language: JavaScript
last commit: 7 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
es-shims/object.entries An ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support. 57
es-shims/object.values Shim to implement Object.values in environments lacking its support or spec compliance 72
es-shims/object.fromentries A shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments. 33
es-shims/array-includes A polyfill for the Array.prototype.includes method in older JavaScript environments 43
es-shims/array.prototype.every A polyfill for the Array.prototype.every method to enable it in older JavaScript environments. 7
es-shims/string.prototype.replaceall A polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments. 36
es-shims/array.prototype.some Polyfills an ES5 method to check if any element in an array meets a condition 2
es-shims/array.prototype.flatmap Provides a shim for the Array.prototype.flatMap method to work in older JavaScript environments. 32
es-shims/string.prototype.trim An ES5 spec-compliant shim for removing whitespace from string edges 13
es-shims/object-is A shim for comparing values in JavaScript 25
mathiasbynens/array.of An ES2015 spec-compliant shim for the Array.of method in ECMAScript 6 15
es-shims/string.prototype.trimright A shim that adds support for the trimRight method to the String prototype in JavaScript environments where it is not natively supported. 8
jamesallardice/placeholders.js A polyfill for the HTML5 placeholder attribute to enable its use across multiple browsers. 948
ljharb/object-keys Provides a shim for accessing object keys in JavaScript environments where Object.keys is not available. 45
es-shims/string.prototype.trimleft A shim to add support for trimming whitespace from the left side of strings in JavaScript. 7