Knex.js logo

Knex.js

SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle
179
403
+ 1
49

What is Knex.js?

Knex.js is a "batteries included" SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle designed to be flexible, portable, and fun to use. It features both traditional node style callbacks as well as a promise interface for cleaner async flow control, a stream interface, full featured query and schema builders, transaction support (with savepoints), connection pooling and standardized responses between different query clients and dialects.
Knex.js is a tool in the Database Tools category of a tech stack.
Knex.js is an open source tool with GitHub stars and GitHub forks. Here’s a link to Knex.js's open source repository on GitHub

Who uses Knex.js?

Companies
36 companies reportedly use Knex.js in their tech stacks, including Voiceflow, Finema, and Backend.

Developers
137 developers on StackShare have stated that they use Knex.js.

Knex.js Integrations

MySQL, PostgreSQL, SQLite, Oracle, and IndexedDB are some of the popular tools that integrate with Knex.js. Here's a list of all 9 tools that integrate with Knex.js.
Pros of Knex.js
11
Write once and then connect to almost any sql engine
10
Faster
8
Nice api, Migrations/Seeds
7
Flexibility in what engine you choose
7
Free
5
Multi support and easy to use
1
Simple query API

Knex.js's Features

  • SQL query builder for Postgres, MySQL, MariaDB, SQLite3, and Oracle

Knex.js Alternatives & Comparisons

What are some alternatives to Knex.js?
Sequelize
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

Knex.js's Followers
403 developers follow Knex.js to keep up with related blogs and decisions.