pretty-print-ast
Formats ASTs as nice readable strings, with colors
Usage Example
import { formatAst } from "pretty-print-ast";
const ast = /* get an AST from whatever */
console.log(formatAst(ast));
Outputs something like:
API Documentation
Please see api/index.d.ts for API documentation.
License
MIT