Rhombic

JSON →
library 0.19.0 ·javascript
verified Jun 5, 2026

Rhombic is a SQL parsing, analysis, and manipulation library for TypeScript/JavaScript (v0.19.0). It provides two parsers: a Chevrotain-based parser for lightweight ANSI SQL manipulation (add projections, filters, ordering) and an Antlr-based parser (from Apache Spark SQL grammar) for broad dialect support and column-level lineage extraction. Rhombic ships TypeScript types, is actively maintained, and is designed for building SQL editors or data lineage tools. It differentiates from other SQL parsers (like sqlparser-js) by offering both manipulation and lineage in one package, with native TS support.