litedbmodel

JSON →
library 1.2.7 ·javascript
verified Jun 5, 2026

A lightweight, SQL-friendly TypeScript ORM for PostgreSQL, MySQL, and SQLite (v1.2.7, released monthly). Designed for production systems requiring predictable SQL, explicit performance control, and operational safety (replication-lag-aware reader/writer routing, automatic N+1 prevention, configurable hard limits). Uses Active Record pattern with symbol-based columns, tuple conditions, and raw SQL escape hatches. Unlike Prisma or TypeORM, it prioritizes SQL visibility and explicit transaction boundaries over magic. Requires Node >=18 and peer dependencies for each database driver.