talira

Compare

ReyloKyselyKnex.js
What it isImport .sql files into TypeScript with types inferred from your live database, plus SQL-first migrationsType-safe SQL query builder for TypeScriptSQL query builder for Node.js with migrations and seeds
KindOpen sourceOpen sourceOpen source
Trust0.650.720.47
Stars16781438620334
Last commit2026-11-242026-11-282026-06-26
LicenceMITMITMIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyVariadicKyselyKnex
Features
  • import .sql files into TypeScript with inferred parameter and row types
  • types come from the live database's own analysis of each query
  • Postgres, MySQL and SQLite
  • schema modeled in schema.sql, with generated or hand-written migrations (Reylo Migrate)
  • deploy guides for Neon, Supabase, PlanetScale, Cloudflare D1 and Turso
  • Compile-time checks that queries only use visible tables and columns
  • Result types inferred from selects, joins, subqueries and with clauses
  • Dialects for PostgreSQL, MySQL, SQL Server, SQLite and PGlite
  • Runs on Node.js, Deno, Bun, Cloudflare Workers and browsers
  • sql template tag and dynamic module for queries that can't be typed
  • Query builder for PostgreSQL, MySQL, MariaDB, CockroachDB, Redshift, SQLite3, Oracle and SQL Server
  • Schema builder
  • Migrations and seeds with a CLI
  • Transactions and connection pooling
  • Streaming queries
  • Promise and callback APIs