eslint-visitor-keys
npmv5.0.1TypeScriptConstants 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.
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.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| eslint-visitor-keysthis page | 340.8M | 4 | Apache-2.0 | 6 months ago |
| @eslint/config-helpers | 96M | 1 | Apache-2.0 | 1 day ago |
| @eslint-community/eslint-utils | 0 | 1 | MIT | 1 day ago |
| eslint-scope | 0 | 2 | BSD-2-Clause | 1 day ago |
| @eslint/plugin-kit | 0 | 1 | Apache-2.0 | 1 day ago |
| @typescript-eslint/types | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by eslint-visitor-keys v5.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (2)
Used by
Popular packages that depend on eslint-visitor-keys.
An AST-based pattern checker for JavaScript.
ECMAScript scope analyzer for ESLint
An Esprima-compatible JavaScript parser built on Acorn
Utilities for ESLint plugins.
Relationship graph
Dependencies (left) and dependents (right) of eslint-visitor-keys.
Frequently installed together
Runtime typescript and ESM support for Node.js
An AST-based pattern checker for JavaScript.
TypeScript definitions for estree
Prettier is an opinionated code formatter
The semantic version parser used by npm.
TypeScript definitions for node
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
An Esprima-compatible JavaScript parser built on Acorn
Escape RegExp special characters
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Helper utilities for creating ESLint configuration
Release history
3 releases in the last two years, typically about 102 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 5.0.1latest | 6 months ago | 31 KB | Apache-2.0 |
| 5.0.0 | 10 months ago | 35 KB | Apache-2.0 |
| 4.2.1 | 1 year ago | 36 KB | Apache-2.0 |
| 4.2.0 | 1 year ago | 35 KB | Apache-2.0 |
| 4.1.0 | 1 year ago | 35 KB | Apache-2.0 |
| 4.0.0 | 2 years ago | 32 KB | Apache-2.0 |
| 3.4.3 | 3 years ago | 32 KB | Apache-2.0 |
| 3.4.2 | 3 years ago | 31 KB | Apache-2.0 |
| 3.4.1 | 3 years ago | 32 KB | Apache-2.0 |
| 3.4.0 | 3 years ago | 31 KB | Apache-2.0 |
| 3.3.0 | 4 years ago | 30 KB | Apache-2.0 |
| 3.2.0 | 4 years ago | 29 KB | Apache-2.0 |
| 3.1.0 | 4 years ago | 29 KB | Apache-2.0 |
| 3.0.0 | 5 years ago | 31 KB | Apache-2.0 |
| 2.1.0 | 5 years ago | 24 KB | Apache-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.