pretty-format-ast
JSON →A plugin for pretty-format2 that prints Abstract Syntax Trees (ASTs) in a human-readable, indented format. Version 1.0.1 is the current stable release. It provides a structured view of AST nodes with their properties, types, and positions. Compared to alternatives like util.inspect, it produces a much more concise and visually organized output, specifically designed for AST inspection. The package works with any AST that follows a similar node structure and requires pretty-format2 as a peer dependency.
Traffic · last 30 days ↓36% vs prev 7d
total hits 27
actors 8 distinct systems
last hit 1d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇦🇺 Australia · VN · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/pretty-format-ast
compatibility /v1/registry/pretty-format-ast/compatibility