Skip to content
JS
Package

acorn-globals

Detect global variables in JavaScript using acorn

v7.0.1, 2 Sept 2022MIT-Types: NoneRich text and code editors
$ npm install acorn-globals

Key numbers

As of 25 Sept 2026
Weekly downloads
20.3m
+11% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v7.0.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 32m (28 Apr 2026)Low 9.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

20,296,866 downloads last week, 91,185,188 in the last month. The 12-month change of +11% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
025 in total
Latest version
7.0.1, 2 Sept 20224 years ago
First published
22 Sept 2014
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
616

Major versions

  1. v7 first release 7.0.0, 31 Aug 2022
  2. v6 first release 6.0.0, 8 Mar 2020
  3. v5 first release 5.0.0, 8 Mar 2020
  4. v4 first release 4.0.0, 23 Jun 2017
  5. v3 first release 3.0.0, 3 Jun 2016
  6. v2 first release 2.0.0, 2 Nov 2015
  7. v1 first release 1.0.0, 22 Sept 2014

Recent releases

VersionPublished
7.0.12 Sept 2022
7.0.031 Aug 2022
6.0.08 Mar 2020
5.0.08 Mar 2020
4.3.410 Sept 2019
4.3.33 Aug 2019
4.3.221 Apr 2019
4.3.112 Apr 2019
4.3.015 Sept 2018
4.2.015 Sept 2018
4.1.024 Oct 2017
4.0.023 Jun 2017
3.1.030 Jan 2017
3.0.03 Jun 2016
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.2 kB
Dependencies (2)
acornacorn-walk
npm install acorn-globals
  • jsDelivrhttps://cdn.jsdelivr.net/npm/acorn-globals@7.0.1/
  • unpkghttps://unpkg.com/acorn-globals@7.0.1/
  • esm.shhttps://esm.sh/acorn-globals@7.0.1
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet.