Elestia Open Source Ratings

Date and time libraries

Parse, change, compare and show dates, times and time zones. We rate 10; date-fns leads with 8.0 out of 10.

8.0date-fnsTypeScript teams that want small, tree-shakable, functional date helpers on the native Date and on any runtime, until Temporal works everywhere they need it.7.78.37.18.57.77.5
7.5temporal-polyfillTeams that want to write standard Temporal code today and drop the dependency once all browsers ship it natively.5.98.07.64.16.17.6
6.8Day.jsTeams that leave Moment.js, or that want a very small chainable date API for formatting and simple date maths.7.66.75.78.17.77.6
6.6LuxonTeams that need heavy time zone and calendar maths in modern browsers or Node.js today and want a chainable object API without shipping time zone data.6.87.55.16.26.47.1
5.5TempoSmall front-end projects, especially FormKit users, that want tiny, locale-aware date formatting and parsing on native Date objects.7.26.25.63.23.87.8
5.2SpacetimeSmall apps and scripts that want readable time-zone conversion and "what time is it in X" helpers without depending on Intl, and that do not need exact historical DST.5.95.35.93.33.37.1
5.0@js-temporal/polyfillProjects that already use it, or teams that want the proposal champions' implementation and can accept a large, alpha-status bundle.6.25.74.44.74.67.0
4.2date-fns-tzExisting date-fns v2 or v3 codebases that already use its toZonedTime/fromZonedTime/formatInTimeZone helpers and want no migration.3.85.62.74.94.76.4
3.8Moment TimezoneTeams with an existing Moment.js codebase that need correct, current time zone data until they migrate.3.75.75.46.35.16.4
3.6Moment.jsTeams that keep an existing Moment codebase running until they can migrate.6.85.44.56.64.96.7

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
date-fns482M×3.337k321May 20260
temporal-polyfill31M×13790799Nov 20260
Day.js441M×3.649k45Aug 20260
Luxon235M×3.416k22Sept 20250
Tempo569k×3.02.6k42Nov 20260
Spacetime1.9M×3.54.1k189Nov 20260
@js-temporal/polyfill27M×18798144Mar 20250
date-fns-tz58M×2.71.2k0Sept 20240
Moment Timezone99M×2.03.9k36Oct 20260
Moment.js205M+94%48k68Sept 20261