What is Knex.js?
SQL query builder for JavaScript with support for multiple database backends including PostgreSQL, MySQL, SQLite3, Oracle, and others. Features include promise-based async, transactions, connection pooling, and schema building.
What Knex.js does
The capabilities that matter for orm & database tools, normalised so it lines up with every alternative. “-” means we haven't confirmed it, not that it's missing.
- Type-safe queries
- -
- Schema migrations
- -
- Relations / joins API
- -
- Languages
- JavaScript
- Schema-first modelling
- -
- Raw SQL escape hatch
- -
- Multiple database backends
- ✓
- Connection pooling
- ✓
- Data browser / studio
- -
Knex.js alternatives
Other orm & database tools we track, ranked by the same independent score.
- PrismaAgent Infrastructure for TypeScript — Build, deploy, and iterate end-to-end in one conversationmedium · 63%
- Drizzle ORMHeadless TypeScript ORM with a headlow · 45%
- TypeORMCode with Confidence. Query with Power.low · 41%
- Django ORMThe web framework for perfectionists with deadlines.low · 15%
- SQLAlchemyThe Database Toolkit for Pythonmedium · 55%
- GORMThe fantastic ORM library for Golanglow · 15%
The Vioscale score: one lens on the evidence
Not user reviews and not a paid placement: a confidence-weighted blend of the independent signals below (adoption, activity, security posture, and more), which you can sort and re-weight yourself. Vendors can correct their listing but can never move their rank, and stars are weighted low as a vanity metric. It is one way to read the evidence for Knex.js, not the verdict.
| Signal | Score | Weight | Contribution | Evidence |
|---|---|---|---|---|
| Package Downloads | 87 | 26.00 | 2264.7 | ✓ |
| Release Cadence | 98 | 10.00 | 977.8 | ✓ |
| Capabilities | 46 | 16.00 | 733.1 | ✓ |
| Github Stars | 81 | 5.00 | 406.4 | ✓ |
| Integrations | 0 | 8.00 | 0.0 | - |
| Github Activity | 0 | 18.00 | 0.0 | - |
| Security Posture | 0 | 13.00 | 0.0 | - |
| Stackoverflow Activity | 0 | 12.00 | 0.0 | - |
Computed . Re-weight it by intent, or see the full method.
All data & sourcesshow ↓
Every value we hold, with its source, retrieval date, and confidence. This is the evidence behind the score: don't trust it, verify it.
Adoption
Features
| Attribute | Value | Evidence |
|---|---|---|
| Capabilities | {"multi_db":true,"languages":"JavaScript","connection_pooling":true} | mediumsource · 2026-08-03 · 60% |
Language
| Attribute | Value | Evidence |
|---|---|---|
| Primary | JavaScript | highsource · 2026-08-03 · 90% |
License
| Attribute | Value | Evidence |
|---|---|---|
| Spdx | MIT | highsource · 2026-08-03 · 99% |
Release
| Attribute | Value | Evidence |
|---|---|---|
| Cadence days | 4 | mediumsource · 2026-08-03 · 70% |