floral-sql-parser

JSON →
library 1.2.13 ·javascript
verified Jun 5, 2026

Parse SQL SELECT statements into an abstract syntax tree (AST) and convert ASTs back to SQL. Current stable version is 1.2.13. Released as needed. Key differentiator: lightweight, focused only on SELECT statements, with AST-to-SQL conversion. It is a fork of the original cht-ui-sql-parser, maintained under the floral-sql-parser npm name. Supports Node >=10 with CommonJS only (no ESM).