Skip to content
DevCompare
GitHub
Home/Comparing packages

date-fnsvsdayjs

date-fnsv4.4.0

Modern JavaScript date utility library

  • Repository

dayjsv1.11.23

2KB immutable date time library alternative to Moment.js with the same modern API

  • Repository
  • Homepage

Stats

Metricdate-fnsdayjs
Weekly downloads122.2Mleads111.6M
Monthly downloads469.0Mleads422.6M
Yearly downloads3883.4Mleads2784.6M
GitHub stars37K49Kleads
Forks2K3Kleads
Open issues1126leads1462
Bundle (gzip)17.1kb3.0kbleads
LicenseMITMIT
Latest releaseMay 29, 2026Aug 17, 2026

Verdict

Overall winnerdayjs

date-fns 3dayjs 4

dayjs has a slight edge over date-fns, but both are solid choices. Consider your priorities before deciding.

  1. Popularitydate-fnsweight 3

    date-fns leads with 469.0M monthly downloads

  2. Communitydayjsweight 2

    dayjs has a larger community with 49K GitHub stars

  3. Bundle sizedayjsweight 2

    dayjs is lighter at 3.0kb gzipped, 5.7x lighter

  4. MaintenanceTieweight 1

    Both projects have been updated recently