ut-tsql-lexer

JSON →
library 1.5.4 ·javascript
verified Jun 5, 2026

Transact SQL lexer and linter that parses T-SQL source code into tokens and provides linting rules for code style and correctness. Version 1.5.4 is stable with moderate release cadence. It returns parsed tokens per line with types (whitespace, keyword, operator, etc.) and a lint array with rule violations. Key differentiators: built-in lint rules for uppercase keywords, indentation, whitespace, and quoting; detailed error messages with location.