</>PackageGraphPackageGraph

estree-walker

npmv3.0.3TypeScript

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

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

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

43 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

MIT

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.

Dev (2)

typescript ^4.9.0uvu ^0.5.1

Used by

Popular packages that depend on estree-walker.

Relationship graph

Dependencies (left) and dependents (right) of estree-walker.

Frequently installed together

Release history

No releases in the last two years, typically about 52 days apart.

Recent versions of estree-walker
VersionPublishedSizeLicense
3.0.3latest3 years ago17 KBMIT
3.0.23 years ago17 KBMIT
3.0.14 years ago17 KBMIT
3.0.05 years ago19 KBMIT
2.0.25 years ago49 KBMIT
2.0.16 years ago23 KBMIT
2.0.06 years ago23 KBMIT
1.0.16 years ago15 KBMIT
1.0.06 years ago14 KBMIT
0.9.06 years ago14 KBMIT
0.8.17 years ago9.7 KBMIT
0.8.07 years ago9.8 KBMIT
0.7.07 years ago12 KBMIT
0.6.17 years ago9.3 KBMIT
0.6.07 years ago8.9 KBMIT

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.