knex 0.20.2

A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser

knex@0.20.2 was published on 2019-11-14. Its manifest declares 15 runtime dependencies and 5 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=8.

All knex versions · Permanent reference to 0.20.2 · Latest release

Package specifications

Version0.20.2
License declarationMIT
Published2019-11-14T20:20:17.489Z
Node.js requirement>=8
Type declarationsBundled declarations
Runtime dependency count15
Peer requirement count5
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size553.24 KiB
Published file count130
Package typeNot declared
ES module entryNot declared
Default entryknex.js
Side effects declarationNot declared
Direct advisories1
Resolved graph dependencies153
Repository stars20343
Repository forks2231

Install knex 0.20.2

npm install knex@0.20.2
pnpm add knex@0.20.2
yarn add knex@0.20.2

Runtime dependencies

Peer requirements

  • pg ^7.12.1 (optional peer)
  • mssql ^5.1.0 (optional peer)
  • mysql ^2.17.1 (optional peer)
  • mysql2 ^1.7.0 (optional peer)
  • sqlite3 ^4.1.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.

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.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 20 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Code-Review4/10 — Found 14/30 approved changesets -- score normalized to 4
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Binary-Artifacts10/10 — no binaries found in the repo
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0
Security-Policy0/10 — security policy file not detected
License10/10 — license file detected
Packaging10/10 — packaging workflow detected
Fuzzing0/10 — project is not fuzzed
SAST9/10 — SAST tool detected but not run on all commits

Evidence and freshness