Prisma VS Knex

Compare Prisma vs Knex and see what are their differences.

Prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite & MongoDB (Preview) (by prisma)

Knex

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use. (by knex)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
Prisma Knex
114 50
19,685 15,225
9.8% 1.5%
9.9 9.3
6 days ago 4 days ago
TypeScript JavaScript
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Prisma

Posts with mentions or reviews of Prisma. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.

Knex

Posts with mentions or reviews of Knex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-17.

What are some alternatives?

When comparing Prisma and Knex you can also consider the following projects:

Sequelize - An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js | Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server & DB2

TypeORM - ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

pg-promise - PostgreSQL interface for Node.js

Mongoose - MongoDB object modeling designed to work in an asynchronous environment.

MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, PostgreSQL and SQLite databases.

Objection.js - An SQL-friendly ORM for Node.js

lucid - AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more

sveltekit-prisma - A sample repository to show how SvelteKit and Prisma work together.

PostgreSQL - PostgreSQL client for node.js.

DataStax Node.js Driver for Apache Cassandra - DataStax Node.js Driver for Apache Cassandra

hjson-js - Hjson for JavaScript