Skip to content
aicoolies logo
Knex.js logo

Alternatives to Knex.js

3 editor-selected alternatives · Knex.js overview →

source: tools.alternatives · stored order · active records only; review scores are annotations and never change membership or order

A directional evidence panel appears only when the substitute rationale, trade-offs, sources, and verification date have been recorded. Older selections without that panel remain visible but are unclassified under the new evidence contract.

Kysely logo
1

Kysely

open sourceexplicit relation

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.

Free and 100% open source under the MIT license. Kysely is completely free for personal and commercial use with zero software licensing costs. Deploys seamlessly across Node.js, Bun, Deno, browser Web Workers, and serverless/edge runtimes.
TypeORM logo
2

TypeORM

open sourceexplicit relation

Full-featured ORM for TypeScript and JavaScript supporting Active Record and Data Mapper patterns. Works with PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server, and MongoDB. Features decorator-based entity definitions, migrations, relations (one-to-one, many-to-many), lazy/eager loading, query builder, transactions, and caching. Supports both Node.js and browser runtimes. 34K+ GitHub stars. Mature but losing mindshare to Prisma and Drizzle for new TypeScript projects.

Free and 100% open source under the MIT license. Completely free for commercial and personal development across Node.js, TypeScript, browser, and mobile runtimes with zero licensing fees.
Sequelize logo
3

Sequelize

open sourceexplicit relation

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.

Free and 100% open source under the MIT license. Sequelize is a community-driven promise-based ORM for Node.js and TypeScript supporting PostgreSQL, MySQL, MariaDB, SQLite, MSSQL, Snowflake, Db2, and Oracle with no licensing costs or paid tiers.

Open-source Knex.js alternatives

Kysely, TypeORM, Sequelize — see all open-source developer tools.

More Databases & ORMs tools

same category, not editor-selected alternatives — see how Knex.js compares →

UpstashUpstash provides serverless Redis, Kafka, and vector database services with per-request pricing and zero operational overhead. Redis supports global replication for edge computing. Kafka offers pay-per-message event streaming. QStash provides HTTP-based message queues for serverless. Features REST APIs alongside native protocols, ideal for edge and serverless deployments. Integrates with Vercel, Cloudflare Workers, and AWS Lambda natively.NeonServerless Postgres platform separating storage and compute for branching, autoscaling, read replicas, instant restore, and scale-to-zero workloads. Neon works with standard PostgreSQL clients and ORMs, supports extensions such as pgvector, and sits inside a broader Neon backend platform with Auth, Data API, Functions, Object Storage, and AI Gateway features.SupabaseOpen-source Firebase alternative providing a full backend-as-a-service on PostgreSQL. Auto-generated REST and GraphQL APIs from your schema, real-time subscriptions, built-in auth with 20+ social providers and Row Level Security, S3-compatible file storage with CDN, and Deno-powered Edge Functions. Visual dashboard with SQL editor and table editor. Supports pgvector for AI apps. Self-hostable or managed with a generous free tier. 75K+ GitHub stars.Drizzle ORMLightweight, serverless-ready TypeScript ORM with zero dependencies bringing SQL-like syntax into TypeScript for maximum type-safety. Maps queries closely to raw SQL with full auto-completion and type inference. Features Drizzle Kit for migrations, Drizzle Studio for visual browsing, supports PostgreSQL, MySQL, SQLite, and Turso. Runs on Node.js, Bun, Deno, Cloudflare Workers, and Vercel Edge. 26K+ GitHub stars, growing fast as a Prisma alternative.QdrantQdrant is a high-performance vector similarity search engine and database written in Rust. Designed for production-grade AI applications with advanced filtering, payload indexing, and distributed deployment. Supports billion-scale vector collections with sub-second query times. Popular choice for RAG, recommendation systems, and anomaly detection.PineconePinecone is a leading managed vector database designed for high-performance similarity search at scale. Purpose-built for AI applications including RAG, recommendation systems, and semantic search. Offers managed serverless infrastructure with automatic scaling, filtering, hybrid retrieval, and namespacing. No infrastructure management required.HelixDBHelixDB is an open-source, unified graph-vector database engineered in Rust that merges relational, graph, and vector workloads into a single OLTP engine, using LMDB local caching and S3 object storage for scalable agent memory.LanceDBLanceDB is an open-source embedded vector database built on the Lance columnar format for multimodal AI. It delivers near in-memory performance from disk with zero-copy architecture, supporting vector search, full-text search, and SQL. Native SDKs for Python, TypeScript, and Rust integrate with LangChain, LlamaIndex, and DuckDB. Backed by a $30M Series A, used by Harvey AI and Runway, with 18,000+ GitHub stars.RagieRagie is a managed retrieval-augmented generation platform that handles document ingestion, indexing, and retrieval so developers can build grounded AI applications without managing vector databases or chunking pipelines. It connects to Google Drive, Notion, Slack, Confluence, and other enterprise data sources with simple APIs for hybrid search and entity extraction.

FAQ

Which Knex.js alternative is listed first?

Kysely is first in the editor-selected list of 3 Knex.js alternatives. The stored order is editorial; review scores do not determine membership or position.

Are there open-source Knex.js alternatives?

Yes — Kysely, TypeORM, Sequelize are open source.