mk3008/rawsql-ts

SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.

42
/ 100
Emerging

AST-based SQL parsing enables deterministic Zero Table Dependency (ZTD) testing by rewriting queries to run against in-memory fixtures instead of physical tables, eliminating database setup overhead while preserving handwritten SQL expressiveness. The toolkit provides type-safe result mapping, AST-driven impact analysis for schema changes, and a feature-first CLI (`ztd-cli`) for SQL artifact generation, migration inspection, and machine-readable automation workflows. Driver-agnostic core with Postgres and SQLite adapters supports both traditional execution and fixture-backed testing patterns.

Available on npm.

No Dependents
Maintenance 13 / 25
Adoption 7 / 25
Maturity 18 / 25
Community 4 / 25

How are scores calculated?

Stars

29

Forks

1

Language

TypeScript

License

MIT

Last pushed

Mar 18, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mk3008/rawsql-ts"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.