GitHub

date-fns vs dayjs

Estimated humans, week by week

  • date-fns
  • dayjs
  • npm downloads (same color, dashed)

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

date-fns vs dayjs: which is more popular?

packagenpm / weekhumans / week inflationconfidence
date-fns 116,834,307 116,811,670–116,834,307 less than 1% high
dayjs 107,349,363 107,325,675–107,349,363 less than 1% high

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

By estimated real human installs, date-fns is ahead of dayjs, and the two are close: about 116,833,288 vs 107,346,397 a week. npm's raw counts are 116,834,307 for date-fns and 107,349,363 for dayjs, which include mirrors, scanners and crawlers.

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 an honest confidence level.

Read the methodology