pretty-format-ast

JSON →
library 1.0.1 ·javascript
verified May 27, 2026

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.

total hits 27
actors 8 distinct systems
last hit 1d ago Bingbot
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇦🇺 Australia · VN · 🇫🇷 France