</>PackageGraphPackageGraph

eslint-scope

npmv9.1.2TypeScript

ECMAScript 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.

4
Direct dependencies

Runtime packages this one declares itself.

4
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

250 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

BSD-2-ClauseMIT

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.

PackageWeekly downloadsDependentsLicenseLast release
eslint-scopethis page02BSD-2-Clause6 months ago
eslint-visitor-keys340.8M4Apache-2.01 day ago
@eslint/config-helpers96M1Apache-2.01 day ago
@eslint/plugin-kit01Apache-2.01 day ago
@typescript-eslint/types02MIT1 day ago
@oxlint-config-inspector/core01MIT1 day ago

Dependencies

Declared by eslint-scope v9.1.2. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (7)

@typescript-eslint/parser ^8.7.0chai ^6.0.0eslint >=10.0.0-rc.0 <10.0.0 || ^10.0.0eslint-visitor-keys ^5.0.1espree ^11.2.0npm-license ^0.3.3shelljs ^0.8.5

Used by

Popular packages that depend on eslint-scope.

Relationship graph

Dependencies (left) and dependents (right) of eslint-scope.

Frequently installed together

Release history

6 releases in the last two years, typically about 92 days apart.

Recent versions of eslint-scope
VersionPublishedSizeLicense
9.1.2latest6 months ago169 KBBSD-2-Clause
9.1.16 months ago170 KBBSD-2-Clause
9.1.07 months ago190 KBBSD-2-Clause
9.0.010 months ago156 KBBSD-2-Clause
8.4.01 year ago156 KBBSD-2-Clause
8.3.01 year ago152 KBBSD-2-Clause
8.2.01 year ago148 KBBSD-2-Clause
8.1.01 year ago148 KBBSD-2-Clause
8.0.22 years ago145 KBBSD-2-Clause
8.0.12 years ago145 KBBSD-2-Clause
8.0.02 years ago143 KBBSD-2-Clause
7.2.23 years ago143 KBBSD-2-Clause
7.2.13 years ago143 KBBSD-2-Clause
7.2.03 years ago143 KBBSD-2-Clause
7.1.14 years ago143 KBBSD-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.