eslint-visitor-keys provides a curated list of AST node properties that should be traversed during static analysis. It offers a standardized way to access visitor keys for different ECMAScript versions and AST specifications like ESTree. This package is essential for tools like ESLint rule developers, linters, and code transformers that need to consistently and comprehensively analyze JavaScript code structure. By using this library, developers can simplify AST traversal logic and ensure compatibility across various JavaScript parsers and versions.
The eslint-visitor-keys package has seen sporadic releases since its initial versions in 2017. There were periods of inactivity, followed by bursts of releases in 2020, 2021, and 2023. In 2024 a new major version was released after 3 years(4.0.0). The most recent release was version 4.2.1 in June 2025. This September 2025 there were no new releases.
Eslint-visitor-keys npm package downloads show a general upward trend from March 2024 to August 2025, peaking in June 2025 at 601 million. September 2025 data is incomplete and significantly lower, reflecting the partial month. Overall, usage has substantially increased year-over-year.