Skip to content
JS
Comparison

moment vs luxon

moment is a date library for parsing, validating, manipulating and formatting dates, and luxon is a date and time library with DateTime, Duration and Interval types, built on the Intl API.

Date and timePackage data 25 Sept 2026
momentv2.31.0, 15 Sept 2026

Date library for parsing, validating, manipulating and formatting dates.

$ npm install moment
luxonv3.7.2, 5 Sept 2025

Date and time library with DateTime, Duration and Interval types, built on the Intl API.

$ npm install luxon
MetricmomentluxonDifference
Weekly downloads26,501,97027,414,881luxon +3%
12-month download growth+22%+99%luxon +76 pts
Gzip size---
Minified size---
Dependencies00Same
Unpacked size4.3 MB4.4 MBmoment 2% smaller
Latest release2.31.0, 15 Sept 20263.7.2, 5 Sept 2025moment 12 months more recent
Releases, last 12 months10moment 1 more
First published17 Oct 201124 May 2017moment 5.6 years earlier
GitHub stars47,90916,461moment 2.9x higher
Open issues41155luxon 114 more
Open pull requests1637luxon 21 more
Contributors---
Commits, last 52 weeks6623moment 2.9x higher
TypeScript typesBundledNoneDiffers
Module formatCommonJSESM + CommonJSDiffers
RuntimesBrowser, Node.jsBrowser, Node.jsSame
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

moment26.5m latest weekluxon27.4m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

moment

Major versions
  1. 1.1.027 Oct 2011
  2. 2.0.08 Feb 2013
Last 5 releases
  1. 2.31.015 Sept 2026
  2. 2.30.127 Dec 2023
  3. 2.30.026 Dec 2023
  4. 2.29.46 Jul 2022
  5. 2.29.317 Apr 2022
77 releases in total, 1 in the last 12 months

luxon

Major versions
  1. 0.0.124 May 2017
  2. 1.0.024 Mar 2018
  3. 2.0.09 Jul 2021
  4. 3.0.09 Jul 2022
Last 5 releases
  1. 3.7.25 Sept 2025
  2. 3.7.19 Jul 2025
  3. 3.7.09 Jul 2025
  4. 3.6.131 Mar 2025
  5. 3.6.025 Mar 2025
150 releases in total, 0 in the last 12 months
moment

Chainable, mutable wrapper object

luxon

Chainable, immutable wrapper object

moment
  • The README says: "Moment.js is a legacy project, now in maintenance mode. New features are not being accepted."
  • The project status page says the mutable API will not be redesigned.
  • The same page says a 3.0 release is no longer ruled out, but only as a maintenance release with no schedule announced.
  • Published as CommonJS.
luxon
  • Uses the native Intl API for time zones and locales, so no locale or time zone data files are needed.
  • Some Intl behaviour is browser-dependent, so Luxon's output can differ on older browsers.
  • Written by one of the Moment.js maintainers and hosted under the moment GitHub organisation.
  • Need no runtime dependenciesBoth
  • Need both ESM and CommonJS entry pointsluxon (moment: CommonJS; luxon: ESM + CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itselfmoment (moment: Bundled; luxon: None)
  • Node.js version requirementmoment: *; luxon: >=12 (engines field in package.json)
  • Need the more recent releasemoment (2.31.0 on 15 Sept 2026 vs 3.7.2 on 5 Sept 2025)
  • Higher weekly npm downloadsluxon (27.4m vs 26.5m)

Each line is generated from the data above.

Indexability: Indexed: 10 US searches/month across both orderings ("moment vs luxon", "luxon vs moment").