GitHub

knex

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

npm says

6,842,887

per week

Every tarball fetch: mirrors, scanners, CI and people.

real installs

high confidence

≈ 6.84M

per week

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count.

noise under 1% of npm's count, so nearly all of it counts. noise real installs

Why this estimate

With JavaScript on, this lists what the filter found for this package.

Most used major version: 3, the latest one, with 71% of last week's downloads above the crawler floor. Most used single version: 3.1.0.

Snapshot from the daily build of Nov 6, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use knex?

npm counted 6,842,887 downloads of knex in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 6.84M look like real installs. At this scale most of them come from CI, builds and other packages that depend on knex, so the number of people behind them is far smaller.

Is knex still maintained?

Most likely yes, going by its releases. The latest version, 3.3.0, came out on Jun 26, 2026. The last 12 months saw 12 stable releases, typically 3 days apart. It was first published on May 1, 2013. npm lists 5 maintainers.

Is knex still used?

Downloads with publish spikes removed are up 34% over 3 months and up 132% over 11 months. For scale, the median of the 269 packages we track, which lean towards today's most downloaded, is up 157% over 11 months, so this one is behind that. Last week, 71% of downloads above the crawler floor were on major version 3, the latest one; the most used single version was 3.1.0, with 31%. Weekdays get 2.3× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 1,584 downloads a week, roughly 6 per version.

How the estimate works

  1. Cut the spike every new version gets from mirrors in its first days.
  2. Subtract the flat floor robots download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology

Other packages