AST Parser

JSON →
library 0.2.0 ·javascript
verified May 27, 2026

ast-parser is a JavaScript and TypeScript utility library designed to simplify the traversal and extraction of information from Abstract Syntax Trees (ASTs), particularly those generated by `@babel/parser`. At version 0.2.0, it is in an early development stage, focused on providing helper functions like `parse`, `find`, and `findInfo` to navigate complex AST structures efficiently. While its release cadence is not formally established due to its nascent state, it appears to be actively developed, shipping with TypeScript types for enhanced developer experience. Its primary differentiation lies in offering a more declarative way to query and inspect AST nodes, complementing the output of parsers like Babel, rather than replacing them. This allows developers to easily locate specific node types or properties within a given code's AST representation.

total hits 23
actors 9 distinct systems
last hit 1d ago human
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Amazonbot
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France