sindresorhus

globals

Global identifiers from different JavaScript environments

by sindresorhus

JavaScript

JavaScript97.6%
HTML1.9%
TypeScript0.3%
Makefile0.2%

Commit activity

Last 12 weeks · 12 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 · 1 in progress · Last activity 2w ago
See all on GitHub →
SethFalco

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 · 6d ago
asingh04

We are currently using CubeJs to run and maintain Data Models and run a semantic layer for the data analytics in production env. We are adding eslint for the JS files used in the applications, and it seems the applications seems to have it's own set of global variables. It would be nice to include those in the config specific for cube.

asingh04 · 1mo ago
chenjiahan

Rstest is a JavaScript testing framework similar to Jest and Vitest. This PR adds the global APIs exposed by its configuration to this package, maintained manually because Rstest currently does not provide an ESLint plugin. Related Links Rstest documentation https://github.com/web-infra-dev/rstest

chenjiahan · 2mo ago
chenjiahan

This adds the read-only global to the Rspack and Webpack environments. Both bundlers replace it at compile time with the current module layer or , so static analysis tools should recognize it. Related Links

chenjiahan · 1mo ago
mightyaleksey

Hey, since the globals package is commonly used by linters (eslint, standard) to set up global variables for particular environment, I thought that it would be nice to add support for the flow type system. This PR creates environment and adds the following globals: events: https://flow.org/en/docs/react/events/ utility types: https://flow.org/en/docs/types/utilities/

mightyaleksey · 2mo ago
Structured data for AI agents

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