eslint-scope
npmv9.1.2TypeScriptECMAScript scope analyzer for ESLint
Safe to adopt
Yes — eslint-scope scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 187 days ago. 8 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 187 days ago. 8 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 4 transitive packages, about 250 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
BSD-2-Clause — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding eslint-scope to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing eslint-scope, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node ^20.19.0 || ^22.13.0 || >=24
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the eslint-scope README.
import * as eslintScope from "eslint-scope";eslint-scope vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| eslint-scopethis page | 0 | 2 | BSD-2-Clause | 6 months ago |
| eslint-visitor-keys | 340.8M | 4 | Apache-2.0 | 1 day ago |
| @eslint/config-helpers | 96M | 1 | Apache-2.0 | 1 day ago |
| @eslint/plugin-kit | 0 | 1 | Apache-2.0 | 1 day ago |
| @typescript-eslint/types | 0 | 2 | MIT | 1 day ago |
| @oxlint-config-inspector/core | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by eslint-scope v9.1.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (7)
Used by
Popular packages that depend on eslint-scope.
An AST-based pattern checker for JavaScript.
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Relationship graph
Dependencies (left) and dependents (right) of eslint-scope.
Frequently installed together
TypeScript definitions for estree
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
TypeScript definitions for node
Runtime typescript and ESM support for Node.js
ECMAScript parser
Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset
React is a JavaScript library for building user interfaces.
Lodash modular utilities.
React package for working with the DOM.
Node's event emitter for all engines.
Delightful JavaScript Testing.
Release history
6 releases in the last two years, typically about 92 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 9.1.2latest | 6 months ago | 169 KB | BSD-2-Clause |
| 9.1.1 | 6 months ago | 170 KB | BSD-2-Clause |
| 9.1.0 | 7 months ago | 190 KB | BSD-2-Clause |
| 9.0.0 | 10 months ago | 156 KB | BSD-2-Clause |
| 8.4.0 | 1 year ago | 156 KB | BSD-2-Clause |
| 8.3.0 | 1 year ago | 152 KB | BSD-2-Clause |
| 8.2.0 | 1 year ago | 148 KB | BSD-2-Clause |
| 8.1.0 | 1 year ago | 148 KB | BSD-2-Clause |
| 8.0.2 | 2 years ago | 145 KB | BSD-2-Clause |
| 8.0.1 | 2 years ago | 145 KB | BSD-2-Clause |
| 8.0.0 | 2 years ago | 143 KB | BSD-2-Clause |
| 7.2.2 | 3 years ago | 143 KB | BSD-2-Clause |
| 7.2.1 | 3 years ago | 143 KB | BSD-2-Clause |
| 7.2.0 | 3 years ago | 143 KB | BSD-2-Clause |
| 7.1.1 | 4 years ago | 143 KB | BSD-2-Clause |
Overview
eslint-scope is an npm package that eCMAScript scope analyzer for ESLint. It has 2 known dependents in the graph. The latest version is 9.1.2, released under the BSD-2-Clause license.
Who should use it
Teams working in the npm ecosystem who need eCMAScript scope analyzer for ESLint and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (BSD-2-Clause).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Funding
Frequently asked questions
Should I use eslint-scope?
Yes — eslint-scope scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 187 days ago. 8 releases in the last 2 years.
How do I install eslint-scope?
Run `npm install eslint-scope` to add eslint-scope to your npm project.
How many dependencies does eslint-scope have?
eslint-scope declares 11 direct dependencies and pulls in 4 packages in total once its runtime tree is resolved totalling about 250 KB on disk.
What license is eslint-scope released under?
eslint-scope is distributed under the BSD-2-Clause license. Its dependency tree also includes: BSD-2-Clause, MIT.
How popular is eslint-scope?
npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on eslint-scope.
Is eslint-scope still maintained?
The most recent release of eslint-scope (v9.1.2) was published 6 months ago.
Does eslint-scope run install scripts?
No. eslint-scope does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.