sql-ast

JSON →
library 0.3.0 ·javascript maintenance
verified Jun 5, 2026

A MySQL parser that converts mysqldump output into an AST. Version 0.3.0 is the latest stable release, but the library is early-stage with limited feature coverage. It tokenizes SQL input into word, ident, punct, number, string, variable, and version tokens, and builds AST nodes for statements, actions, columns, indexes, rows, and more. Differentiated by its focus on mysqldump output and minimal dependencies. Development is infrequent; community contributions are welcome but not actively maintained.