QAST — Query to AST to ORM

JSON →
library 2.1.3 ·javascript
verified Jun 5, 2026

QAST v2.1.3 is a zero-dependency, ORM-agnostic library that parses human-readable query strings (e.g., 'age gt 25 and name eq "John"') into an AST and converts it into filters for Prisma, TypeORM, Sequelize, Mongoose, Knex, and Drizzle. Actively maintained; ships TypeScript types. Key differentiators: zero runtime dependencies, optional whitelists and field constraints for safety, OpenAPI helpers, and support for multiple ORMs via optional peer dependencies.