GitHub

knex vs prisma

Real installs, week by week

  • knex
  • prisma
  • npm downloads (same color, dashed)

The 12-month chart is drawn in the browser from the npm API.

knex vs prisma: which is more popular?

packagenpm / weekreal installs / week noiseconfidence
knex 6,842,887 6.84M under 1% high
prisma 25,753,459 25.7M–25.8M under 1% high

Noise: the share of npm's count that mirror spikes and crawlers account for. What remains still includes CI and dependency installs.

Snapshot from the daily build of Nov 6, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live with a 12-month chart.

By real installs, prisma is ahead of knex by about 3.8×: about 25.8M vs 6.84M a week. npm's raw counts are 6,842,887 for knex and 25,753,459 for prisma, which include mirrors, scanners and crawlers. Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count.

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