{"library":"node-source-walk","type":"library","category":null,"description":"node-source-walk is a JavaScript utility library designed for synchronously traversing Abstract Syntax Trees (ASTs) or raw source code strings. It allows developers to apply a callback function to every node within the AST, with the crucial capability to halt the traversal prematurely using `stopWalking()`. The current stable version is 7.0.1. Releases tend to align with Node.js LTS updates, primarily dropping support for older Node.js versions. A key differentiator is its flexibility in supporting both top-down (`walk`, `traverse`) and bottom-up (`moonwalk`) traversals, accepting either source code or a pre-parsed AST, and offering the option to replace its default `@babel/parser` with a custom parser.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript","ast","traversal","acorn","static analysis","source code","walker","jsx"],"install":[{"cmd":"npm install node-source-walk","imports":["import Walker from 'node-source-walk';","const Walker = require('node-source-walk');","import type { WalkerOptions } from 'node-source-walk';"]},{"cmd":"yarn add node-source-walk","imports":[]},{"cmd":"pnpm add node-source-walk","imports":[]}],"homepage":null,"github":"https://github.com/dependents/node-source-walk","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-source-walk","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/node-source-walk/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}