estree-walker
npmv3.0.3TypeScriptTraverse an ESTree-compliant AST
Not recommended for new projects
No — estree-walker should not be adopted for new projects. Last published 1329 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 1329 days ago.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 43 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — 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 estree-walker 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 estree-walker, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the estree-walker README.
var walk = require('estree-walker').walk;
var acorn = require('acorn');
ast = acorn.parse(sourceCode, options); // https://github.com/acornjs/acorn
walk(ast, {
enter(node, parent, prop, index) {
// some code happens
},
leave(node, parent, prop, index) {
// some code happens
}
});Dependencies
Declared by estree-walker v3.0.3. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (2)
Used by
Popular packages that depend on estree-walker.
Native-ESM powered web dev build tool
AST-aware v8-to-istanbul
@vue/compiler-sfc
Runtime typescript and ESM support for Node.js
Vitest module mocker implementation
Determine whether an AST node is a reference
@vue/compiler-core
Relationship graph
Dependencies (left) and dependents (right) of estree-walker.
Frequently installed together
Modify strings, generate sourcemaps
A JavaScript parser
A pure JavaScript implementation of Sass.
Babel Types is a Lodash-esque utility library for AST nodes
An extremely fast JavaScript and CSS bundler and minifier.
Native-ESM powered web dev build tool
Universal filesystem path utils
Vite DevTools
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
Tool for transforming styles with JS plugins
Lexes ES modules returning their import/export metadata
Shared Vitest utility functions
Release history
No releases in the last two years, typically about 52 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.3latest | 3 years ago | 17 KB | MIT |
| 3.0.2 | 3 years ago | 17 KB | MIT |
| 3.0.1 | 4 years ago | 17 KB | MIT |
| 3.0.0 | 5 years ago | 19 KB | MIT |
| 2.0.2 | 5 years ago | 49 KB | MIT |
| 2.0.1 | 6 years ago | 23 KB | MIT |
| 2.0.0 | 6 years ago | 23 KB | MIT |
| 1.0.1 | 6 years ago | 15 KB | MIT |
| 1.0.0 | 6 years ago | 14 KB | MIT |
| 0.9.0 | 6 years ago | 14 KB | MIT |
| 0.8.1 | 7 years ago | 9.7 KB | MIT |
| 0.8.0 | 7 years ago | 9.8 KB | MIT |
| 0.7.0 | 7 years ago | 12 KB | MIT |
| 0.6.1 | 7 years ago | 9.3 KB | MIT |
| 0.6.0 | 7 years ago | 8.9 KB | MIT |
Overview
estree-walker is an npm package that traverse an ESTree-compliant AST. It has 7 known dependents in the graph. The latest version is 3.0.3, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need traverse an ESTree-compliant AST 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 (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use estree-walker?
No — estree-walker should not be adopted for new projects. Last published 1329 days ago.
How do I install estree-walker?
Run `npm install estree-walker` to add estree-walker to your npm project.
How many dependencies does estree-walker have?
estree-walker declares 3 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 43 KB on disk.
What license is estree-walker released under?
estree-walker is distributed under the MIT license.
How popular is estree-walker?
npm does not publish download counts. Within PackageGraph's crawl, 7 known packages depend on estree-walker.
Is estree-walker still maintained?
The most recent release of estree-walker (v3.0.3) was published 3 years ago.
Does estree-walker run install scripts?
No. estree-walker does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.