node-source-walk

AST Walker

A library that allows traversing and manipulating JavaScript ASTs

Execute a callback on every node of a source code's AST and stop walking whenever you see fit.

GitHub

57 stars
4 watching
6 forks
Language: JavaScript
last commit: 3 months ago
Linked from 1 awesome list

astjavascripttraverse

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
yurigor/deepdash A tree traversal library for manipulating nested data structures in JavaScript. 275
syntax-tree/hast-util-select Utility package for working with HTML structures in JavaScript 38
estools/estraverse A library of traversal functions for the ECMAScript Abstract Syntax Tree (AST) 943
brettz9/es-file-traverse Traverses ECMAScript files based on import/require chains to identify used files and enforce code quality 2
estools/esquery A JavaScript library for querying and navigating the structure of JavaScript source code 826
syntax-tree/hast-util-from-text Utility to transform plain text into a hast node's visible content 2
bobg/htree A package for traversing and processing HTML node trees in Go. 4
alanshaw/david A tool that helps developers check and update their project dependencies to ensure they have the latest versions. 969
trailofbits/it-depends Automatically builds dependency graphs and Software Bills of Materials for packages and source code repositories. 331
syntax-tree/hast-util-to-text Utility function to extract plain text from HTML-like data structures 19
syntax-tree/hast-util-assert Utility to verify correctness of nodes in HTML/Markdown parsing trees 1
syntax-tree/nlcst-test Utility to validate nodes in abstract syntax trees 2
cyucelen/walker An API-paginated data walker that fetches and processes data concurrently while respecting rate limits. 11
icelab/draft-js-ast-exporter Tools to convert content from Facebook's Draft.js editor into an abstract syntax tree 37
syntax-tree/esast-util-from-js A utility to convert JavaScript code into an abstract syntax tree (AST) format 12