sql-parser-cst
JSON →SQL Parser CST v0.42.1 is a JavaScript/TypeScript library that parses SQL into a Concrete Syntax Tree (CST), preserving all original formatting, comments, whitespace, and source location for round-trip parsing. Actively developed with stable tree structure, supports SQLite 3.45, BigQuery, and experimental MySQL, MariaDB, PostgreSQL, PL/pgSQL. Differentiates from AST parsers by enabling lossless code transformations without losing syntax details.