GitHub

moment vs date-fns

Real installs, week by week

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

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

moment vs date-fns: which is more popular?

packagenpm / weekreal installs / week noiseconfidence
moment 51,004,578 51M under 1% high
date-fns 118,219,626 118M 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, date-fns is ahead of moment by about 2.3×: about 118M vs 51M a week. npm's raw counts are 51,004,578 for moment and 118,219,626 for date-fns, 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