BlackHart
Go live
Knex.js logo
Open source / Databases and drivers

Knex.js

A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3

Open source · JavaScript · npm · github.com/knex/knex

944up 45
Own code · last move Dec 4

Score by release

944

Scored once, on Dec 1. On Dec 4 it rose 45 points when the top of the open-source scale moved from 955 to 1000.

Every Score Move

Open any move to see what changed
Dec 4up 45Model updateOpen-source scale: top moved from 955 to 1000
Score 899 to 944

The top of the open-source scale moved from 955 to 1000: every score rose by 45 points, and nothing else about the method or the reads changed.

Own code and dependencies

944Own codeKnex.js's own code, scored by BlackHart-1. This is its score across the index.
944With its dependenciesNone of the 3 projects we score that it depends on scores lower than its own code, so this is the same.
Weakest dependency we scoreCommander.js1000, up 45

BlackHart-1 read Knex.js at release 3.3.0, published Jun 26, 2026, the version npm lists as latest, on Dec 1: its JavaScript, Shell and TypeScript code, 98% of its source files.

This score is what BlackHart-1's automated rules found in the code of release 3.3.0, against the typical rate for JavaScript among these 500 projects. 1000 means no automated rule matched in a full read; it does not mean the code is audited, flaw-free, or without published advisories. It does not assess how the project is maintained, and it cannot be compared with a protocol's score.

If you maintain Knex.js and think a fact or a read is wrong, write to security@blackhart.io.

How we score open source

Depended on by

3,407npm packages depend on knex.

30,148,280 downloads in the last month.

From packages.ecosyste.ms, read Nov 29, 2026.

About Knex.js

License
MIT
Language
JavaScript
Function
Databases and drivers
Ecosystem
npm
Website
knexjs.org

Packages

The names Knex.js publishes, by registry.

npm
knex