</>PackageGraphPackageGraph

eslint-visitor-keys

npmv5.0.1TypeScript

Constants and utilities about visitor keys to traverse AST.

Safe to adopt

Yes — eslint-visitor-keys scores well across adoption, maintenance, weight, supply chain, and licensing. 340.8M downloads per week and 4 known dependents. Last published 201 days ago. 5 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    340.8M downloads per week and 4 known dependents.

  • BMaintenance: grade B, Good.

    Last published 201 days ago. 5 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 31 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    Apache-2.0 — 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-visitor-keys to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

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

31 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node ^20.19.0 || ^22.13.0 || >=24
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the eslint-visitor-keys README.

import * as evk from "eslint-visitor-keys";

eslint-visitor-keys 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-visitor-keysthis page340.8M4Apache-2.06 months ago
@eslint/config-helpers96M1Apache-2.01 day ago
@eslint-community/eslint-utils01MIT1 day ago
eslint-scope02BSD-2-Clause1 day ago
@eslint/plugin-kit01Apache-2.01 day ago
@typescript-eslint/types02MIT1 day ago

Dependencies

Declared by eslint-visitor-keys v5.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

rollup-plugin-dts ^6.2.3tsd ^0.33.0

Used by

Popular packages that depend on eslint-visitor-keys.

Relationship graph

Dependencies (left) and dependents (right) of eslint-visitor-keys.

eslinteslint-scopeespree@eslint-community…eslint-visitor-ke…
eslint-visitor-keys dependencies dependents

Frequently installed together

Release history

3 releases in the last two years, typically about 102 days apart.

Recent versions of eslint-visitor-keys
VersionPublishedSizeLicense
5.0.1latest6 months ago31 KBApache-2.0
5.0.010 months ago35 KBApache-2.0
4.2.11 year ago36 KBApache-2.0
4.2.01 year ago35 KBApache-2.0
4.1.01 year ago35 KBApache-2.0
4.0.02 years ago32 KBApache-2.0
3.4.33 years ago32 KBApache-2.0
3.4.23 years ago31 KBApache-2.0
3.4.13 years ago32 KBApache-2.0
3.4.03 years ago31 KBApache-2.0
3.3.04 years ago30 KBApache-2.0
3.2.04 years ago29 KBApache-2.0
3.1.04 years ago29 KBApache-2.0
3.0.05 years ago31 KBApache-2.0
2.1.05 years ago24 KBApache-2.0

Overview

eslint-visitor-keys is an npm package that constants and utilities about visitor keys to traverse AST. It is extremely widely used, with about 340.8M downloads per week and 4 known dependents in the graph. The latest version is 5.0.1, released under the Apache-2.0 license.

Who should use it

Teams working in the npm ecosystem who need constants and utilities about visitor keys to traverse AST and value a battle-tested, widely-adopted 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

  • Large, well-established user base (340.8M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (Apache-2.0).
  • Lean dependency tree (2 direct dependencies).

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-visitor-keys?

Yes — eslint-visitor-keys scores well across adoption, maintenance, weight, supply chain, and licensing. 340.8M downloads per week and 4 known dependents. Last published 201 days ago. 5 releases in the last 2 years.

How do I install eslint-visitor-keys?

Run `npm install eslint-visitor-keys` to add eslint-visitor-keys to your npm project.

What license is eslint-visitor-keys released under?

eslint-visitor-keys is distributed under the Apache-2.0 license.

How popular is eslint-visitor-keys?

eslint-visitor-keys has approximately 340,834,618 downloads per week and 4 known dependent packages.

Is eslint-visitor-keys still maintained?

The most recent release of eslint-visitor-keys (v5.0.1) was published 6 months ago.

Does eslint-visitor-keys run install scripts?

No. eslint-visitor-keys does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.