A zero-dependency SQL parser, AST analyzer, and dynamic query builder written in TypeScript. Current stable version is 0.23.0 (beta). Provides fast parsing, programmatic AST manipulation, schema validation, and SSSQL (Sound SQL) optional condition pruning. Key differentiators vs node-sql-parser: higher performance, zero dependencies, browser-ready, and built-in dynamic filtering/sorting/pagination. Released under MIT.
npm install rawsql-tsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates dynamic query building with filtering, sorting, pagination, and optional condition pruning using SSSQL.
Pin to a specific version (e.g., rawsql-ts@0.23.0) and review changelog before upgrading.
Types are bundled. Use 'rawsql-ts' directly. Ensure tsconfig.json includes 'node_modules/@types' or set 'moduleResolution' to 'node'.
Use `import { DynamicQueryBuilder } from 'rawsql-ts'` instead of `import DynamicQueryBuilder from 'rawsql-ts'`.No dependency data recorded yet.