knex
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
knex@3.3.0 was published on 2026-06-26. Its manifest declares 14 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.
All knex versions · Permanent reference to 3.3.0
Package specifications
| Version | 3.3.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-06-26T14:56:43.597Z |
| Node.js requirement | >=16 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 14 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 919.33 KiB |
| Published file count | 183 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | knex.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 22 |
| Repository stars | 20338 |
| Repository forks | 2226 |
Install knex 3.3.0
npm install knex@3.3.0 pnpm add knex@3.3.0 yarn add knex@3.3.0
Runtime dependencies
- colorette 2.0.19
- commander ^10.0.0
- debug 4.3.4
- escalade ^3.1.1
- esm ^3.2.25
- get-package-type ^0.1.0
- getopts 2.3.0
- interpret ^2.2.0
- lodash ^4.18.1
- pg-connection-string 2.6.2
- rechoir ^0.8.0
- resolve-from ^5.0.0
- tarn ^3.1.0
- tildify 2.0.0
Peer requirements
- pg-query-stream ^4.14.0 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- colorette@2.0.19 — direct
- commander@10.0.1 — direct
- debug@4.3.4 — direct
- es-errors@1.3.0 — indirect
- escalade@3.2.0 — direct
- esm@3.2.25 — direct
- function-bind@1.1.2 — indirect
- get-package-type@0.1.0 — direct
- getopts@2.3.0 — direct
- hasown@2.0.4 — indirect
- interpret@2.2.0 — direct
- is-core-module@2.17.0 — indirect
- lodash@4.18.1 — direct
- ms@2.1.2 — indirect
- path-parse@1.0.7 — indirect
- pg-connection-string@2.6.2 — direct
- rechoir@0.8.0 — direct
- resolve@1.22.13 — indirect
- resolve-from@5.0.0 — direct
- supports-preserve-symlinks-flag@1.0.0 — indirect
- tarn@3.1.2 — direct
- tildify@2.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 20 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 4/10 — Found 14/30 approved changesets -- score normalized to 4 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Packaging | 10/10 — packaging workflow detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/knex/3.3.0 — retrieved 2026-10-29T12:14:32.847Z
- https://api.deps.dev/v3/systems/npm/packages/knex/versions/3.3.0 — retrieved 2026-10-29T12:14:33.479Z
- https://api.deps.dev/v3/systems/npm/packages/knex/versions/3.3.0:dependencies — retrieved 2026-10-29T12:14:33.504Z
- https://api.deps.dev/v3/projects/github.com%2Fknex%2Fknex — retrieved 2026-10-29T12:14:33.615Z