{"library":"estree-util-visit","type":"library","category":null,"description":"estree-util-visit is a core utility within the unified (syntax-tree) ecosystem designed for traversing ESTree (and esast) abstract syntax trees. It enables developers to visit nodes in a depth-first traversal (preorder and/or postorder) for analysis or transformation. The current stable version is 2.0.0. The package distinguishes itself by duck-typing fields for node identification, eliminating the need for a predefined dictionary of node fields, which can simplify usage compared to other walkers. It provides symbolic controls (CONTINUE, EXIT, SKIP) for fine-grained traversal management. Releases are generally tied to ecosystem-wide updates or targeted feature enhancements. Since v2, it is an ESM-only package and requires Node.js 16 or newer.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","esast","esast-util","util","utility","recma","estree","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install estree-util-visit","imports":["import { visit } from 'estree-util-visit'","import { CONTINUE } from 'estree-util-visit'","import type { Visitor } from 'estree-util-visit'"]},{"cmd":"yarn add estree-util-visit","imports":[]},{"cmd":"pnpm add estree-util-visit","imports":[]}],"homepage":"https://unifiedjs.com","github":"https://github.com/syntax-tree/estree-util-visit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/estree-util-visit","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/estree-util-visit/compatibility"}}