Package
globalthis
ECMAScript spec-compliant polyfill/shim for `globalThis`
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 65.8m
- +94% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 2 years ago
- v1.0.4
- GitHub stars
- 157
- 12 forks
- Open issues / PRs
- 2 / 0
- Contributors
- 4
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
65,762,373 downloads last week, 319,584,734 in the last month. The 12-month change of +94% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 05 in total
- Latest version
- 1.0.4, 30 Apr 20242 years ago
- First published
- 10 Aug 2018
- Last push to GitHub
- 30 Dec 2025269 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 1
- Dependents on npm
- 954
Major versions
- v1 first release 1.0.0, 10 Aug 2018
Recent releases
| Version | Published |
|---|---|
| 1.0.4 | 30 Apr 2024 |
| 1.0.3 | 7 May 2022 |
| 1.0.2 | 22 Feb 2021 |
| 1.0.1 | 15 Dec 2019 |
| 1.0.0 | 10 Aug 2018 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 23 kB
- Dependencies (2)
gopddefine-properties
npm install globalthis- jsDelivr
https://cdn.jsdelivr.net/npm/globalthis@1.0.4/ - unpkg
https://unpkg.com/globalthis@1.0.4/ - esm.sh
https://esm.sh/globalthis@1.0.4
Indexability: Indexed.