falafel
transform the ast on a recursive walk
transform the ast on a recursive walk
Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.
walk a directory tree recursively with events
Execute a callback on every node of a source code's AST and stop walking when you see fit
Utility functions to deal with references in objects
simple but flexible lexically ordered AST traversal with pre and post visitors
walk a directory tree recursively with events
Get or set a deep value using a keypath string. Supports bracket and dot notation
Declarative JavaScript AST modification façade
Looks up the first non-whitespace character to the left/right of a given index
It iterates through a graph or a tree recursively
Walk any kind of tree structure depth- or breadth-first. Supports promises and advanced map-reduce operations with a very small API.
Recursively walk and transform EcmaScript AST
➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm
Traverse object hierarchies using matching and callbacks.
Provides a simple Javascript AST traversal utility that traverses all nodes / children regardless of type.
Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.
A library for modeling and traversing graphs
transform the ast on a recursive walk
Partial lenses is a comprehensive, high-performance optics library for JavaScript