Type-safe SQL query builder for TypeScript that provides auto-completion and compile-time type checking without the abstraction overhead of a traditional ORM. Write queries that map directly to SQL while getting full TypeScript inference from your database schema. Supports PostgreSQL, MySQL, and SQLite with migrations, transactions, and raw SQL escape hatches. Lightweight with zero dependencies. Ideal for developers who want SQL control with TypeScript safety. Growing Knex.js alternative.
Best TypeORM Alternatives
3 editor-verified alternatives · TypeORM overview →
source: tools.alternatives · stored order · active records only; review scores are annotations and never change membership or order
Flexible SQL query builder for Node.js supporting PostgreSQL, MySQL, SQLite, Oracle, and MSSQL. Chainable API for constructing queries with parameterized bindings. Features schema builder, migration system, seed files, transaction support, and connection pooling. Foundation for ORMs like Bookshelf.js and Objection.js. One of the most established query builders in the Node.js ecosystem.
Mature, promise-based ORM for Node.js supporting PostgreSQL, MySQL, MariaDB, SQLite, and SQL Server. Features model definitions with validations, eager/lazy loading, transactions, migrations, raw queries, and lifecycle hooks. Supports soft deletes, scopes, and virtual fields. One of the oldest and most battle-tested Node.js ORMs, widely used in enterprise apps though increasingly succeeded by Prisma and Drizzle in new projects.
Open-source TypeORM alternatives
Kysely, Knex.js, Sequelize — see all open-source developer tools.
TypeORM head-to-head
FAQ
What is the best TypeORM alternative?
Kysely tops our editor-verified list of 3 TypeORM alternatives.
Are there open-source TypeORM alternatives?
Yes — Kysely, Knex.js, Sequelize are open source.