sql-ddl-to-json-schema

JSON →
library 6.0.0 ·javascript
verified Jun 5, 2026

Parse SQL DDL statements and convert them to JSON Schema documents and a compact JSON format. Version 6.0.0 supports Node.js >=16 <=24 and ships TypeScript types. Key differentiators: handles multiple SQL dialects, produces both JSON Schema (draft-07) and a compact intermediate format, supports ALTER TABLE, and allows configuration of output options like useRef for schema references. Active development with regular releases.