esrecurse
npmv4.3.0ECMAScript AST recursive visitor
Not recommended for new projects
No — esrecurse should not be adopted for new projects. Last published 2200 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2200 days ago.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 49 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 3 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
BSD-2-Clause — 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 esrecurse 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 esrecurse, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node >=4.0
- Module format
- CommonJS only
- TypeScript
- No bundled types
- Install scripts
- None
Quick start
A usage example from the esrecurse README.
esrecurse.visit(ast, {
XXXStatement: function (node) {
this.visit(node.left);
// do something...
this.visit(node.right);
}
});Dependencies
Declared by esrecurse v4.3.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (15)
Used by
Popular packages that depend on esrecurse.
Relationship graph
Dependencies (left) and dependents (right) of esrecurse.
Frequently installed together
Constants and utilities about visitor keys to traverse AST.
ECMAScript JS AST traversal functions
TypeScript definitions for estree
An AST-based pattern checker for JavaScript.
An Esprima-compatible JavaScript parser built on Acorn
TypeScript definitions for esrecurse
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Release history
No releases in the last two years, typically about 37 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.3.0latest | 6 years ago | 13 KB | BSD-2-Clause |
| 4.2.1 | 8 years ago | 13 KB | BSD-2-Clause |
| 4.2.0 | 9 years ago | — | BSD-2-Clause |
| 4.1.0 | 10 years ago | — | BSD-2-Clause |
| 4.0.0 | 10 years ago | — | BSD-2-Clause |
| 3.1.1 | 11 years ago | — | BSD-2-Clause |
| 3.1.0 | 11 years ago | — | BSD-2-Clause |
| 3.0.0 | 11 years ago | — | BSD-2-Clause |
| 2.0.0 | 11 years ago | — | BSD-2-Clause |
| 1.2.0 | 11 years ago | — | BSD-2-Clause |
| 1.1.0 | 11 years ago | — | BSD-2-Clause |
| 1.0.1 | 11 years ago | — | BSD-2-Clause |
| 1.0.0 | 11 years ago | — | BSD-2-Clause |
Overview
esrecurse is an npm package that eCMAScript AST recursive visitor. It has 1 known dependents in the graph. The latest version is 4.3.0, released under the BSD-2-Clause license.
Who should use it
Teams working in the npm ecosystem who need eCMAScript AST recursive visitor and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (BSD-2-Clause).
Cons
- Large dependency tree (16 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use esrecurse?
No — esrecurse should not be adopted for new projects. Last published 2200 days ago.
How do I install esrecurse?
Run `npm install esrecurse` to add esrecurse to your npm project.
How many dependencies does esrecurse have?
esrecurse declares 16 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 49 KB on disk.
What license is esrecurse released under?
esrecurse is distributed under the BSD-2-Clause license.
How popular is esrecurse?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on esrecurse.
Is esrecurse still maintained?
The most recent release of esrecurse (v4.3.0) was published 6 years ago.
Does esrecurse run install scripts?
No. esrecurse does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.