GitShow/sindresorhus/globals
sindresorhus

globals

Global identifiers from different JavaScript environments

by sindresorhus
Star on GitHubForknpm

JavaScript

593 stars134 forks102 contributorsActive · 4d agoSince 2013v17.7.0MIT

Meet the team

See all 102 on GitHub →
sindresorhus
sindresorhus200 contributions
fisker
fisker60 contributions
github-actions[bot]Bot
github-actions[bot]22 contributions
nzakas
nzakas15 contributions
es128
es12811 contributions
silverwind
silverwind10 contributions
kevva
kevva4 contributions
valorkin
valorkin3 contributions

Languages

View on GitHub →
JavaScript97.6%
HTML2%
TypeScript0.3%
Makefile0.2%

Commit activity

Last 12 weeks · 9 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 4 in progress · Last activity 4d ago
See all on GitHub →
silverwind
Copy missing globals from `builtin` to `es*`OpenIssue

While investigating why eslint wouldn't pick up the globals, I noticed eslint does not use builtin like I previously assumed. I'd like to propose to copy any globals missing in either , , but present in to one of those respective environments. Afterwards, I'd copy back any potential globals from the categories to so that it ends up containing all globals from those categories. Alternatively, could be generated dynamically in , I think actually, that'd be my preference to avoid future inconsistency.

silverwind · 1w ago
SethFalco
Globals for Thunderbird ExtensionsOpenIssue

Hey hey! This is more of a question than a request, and I'm happy to open the PR myself if you think this would fit in the repository. Thunderbird supports the Web Extension API, but encourages using the global instead of the global, as this is more fitting for email client. In Thunderbird, all WebExtension API can be accessed through the namespace, as with Firefox, but also through the namespace, which is a better fit for Thunderbird. — Thunderbird Developer Documentation: Using WebExtension APIs Could it make sense to introduce a category to include this global, or is it too niche/vendor-specific? This wouldn't reduce the configuration size for downstream projects, as is the only global afaik. So the only gain is that by a user delegating this to , users will know all globals are covered.

SethFalco · 3mo ago
JasonWeinzierl
Add `react-native` globalsOpenPR

https://github.com/sindresorhus/globals/pull/129 was previously rejected, but re-opening because it seems the policy of this repo has changed. There is an existing package, but it has not been touched for years. https://github.com/react-native-community/eslint-plugin-react-native-globals React Native publicly documents their globals in their website sidebar here: https://github.com/facebook/react-native-website/blob/main/website/sidebars.ts#L232 Did not add and because they are currently marked as "Canary and Experimental only". Added because it's listed in their despite missing from the website: https://github.com/facebook/react-native/blob/main/packages/react-native/src/types/globals.d.ts#L13 Added and because their assumes they exist. There are other variables in their that are not publicly documented (e.g. ); not sure what's the policy on adding those. Set the writable flag to for everything. The previous package set for some like but unless I'm missing something, that seems wrong.

JasonWeinzierl · 4mo ago

Recent fixes

View closed PRs →
fisker
Update actionsMergedPR
fisker · 1w ago
fisker
Fix build scriptMergedPR
fisker · 1w ago
fisker
Fix build script for ES globalsMergedPR

https://github.com/sindresorhus/globals/pull/340#discussion_r3019829315

fisker · 2mo ago
Structured data for AI agents

Repository: sindresorhus/globals. Description: Global identifiers from different JavaScript environments Stars: 593, Forks: 134. Primary language: JavaScript. Languages: JavaScript (97.6%), HTML (2%), TypeScript (0.3%), Makefile (0.2%). License: MIT. Latest release: v17.7.0 (1w ago). Open PRs: 4, open issues: 7. Last activity: 4d ago. Community health: 85%. Top contributors: sindresorhus, fisker, github-actions[bot], nzakas, es128, silverwind, kevva, valorkin, johanbrook, mysticatea and others.

·@ofershap

Replace github.com with gitshow.dev