Knex

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use. (by knex)

Knex Alternatives

Similar projects and alternatives to Knex

  1. Express

    777 Knex VS Express

    Fast, unopinionated, minimalist web framework for node.

  2. Civic Auth

    Auth in Less Than 5 Minutes. Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.

    Civic Auth logo
  3. Strapi

    502 Knex VS Strapi

    🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable, and developer-first.

  4. PostgreSQL

    Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

  5. Prisma

    481 Knex VS Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

  6. Nest

    366 Knex VS Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  7. Directus

    224 Knex VS Directus

    The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI, instant APIs, auth & more.

  8. TypeORM

    170 Knex VS TypeORM

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

  9. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  10. Mongoose

    118 Knex VS Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

  11. Sequelize

    96 Knex VS Sequelize

    Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

  12. Koa

    77 Knex VS Koa

    Expressive middleware for node.js using ES2017 async functions

  13. slonik

    74 Knex VS slonik

    A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

  14. PostgreSQL

    58 Knex VS PostgreSQL

    PostgreSQL client for node.js.

  15. KeystoneJS

    57 Knex VS KeystoneJS

    The superpowered headless CMS for Node.js — built with GraphQL and React

  16. MikroORM

    50 Knex VS MikroORM

    TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.

  17. kysely

    42 Knex VS kysely

    Discontinued A type-safe typescript SQL query builder [Moved to: https://github.com/kysely-org/kysely] (by koskimas)

  18. pgtyped

    35 Knex VS pgtyped

    pgTyped - Typesafe SQL in TypeScript

  19. Objection.js

    24 Knex VS Objection.js

    An SQL-friendly ORM for Node.js

  20. kysely-codegen

    9 Knex VS kysely-codegen

    Generate Kysely type definitions from your database.

  21. Bookshelf

    8 Knex VS Bookshelf

    A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js

  22. knex-types

    8 Knex VS knex-types

    Generate TypeScript definitions (types) from a PostgreSQL database schema.

  23. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Knex alternative or higher similarity.

Knex discussion

Log in or Post with
  1. User avatar
    TigranAvagyan18
    · 11 months ago
    · Reply

    Review ★★☆☆☆ 4/10

Knex reviews and mentions

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 2025-03-04.

Stats

Basic Knex repo stats
105
19,789
5.7
3 months ago

knex/knex is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of Knex is JavaScript.


Sponsored
Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management — all implemented with just a few lines of code. Start building today.
www.civic.com

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?