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
| Metric | moment | luxon | Difference |
|---|---|---|---|
| Weekly downloads | 26,501,970 | 27,414,881 | luxon +3% |
| 12-month download growth | +22% | +99% | luxon +76 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 0 | Same |
| Unpacked size | 4.3 MB | 4.4 MB | moment 2% smaller |
| Latest release | 2.31.0, 15 Sept 2026 | 3.7.2, 5 Sept 2025 | moment 12 months more recent |
| Releases, last 12 months | 1 | 0 | moment 1 more |
| First published | 17 Oct 2011 | 24 May 2017 | moment 5.6 years earlier |
| GitHub stars | 47,909 | 16,461 | moment 2.9x higher |
| Open issues | 41 | 155 | luxon 114 more |
| Open pull requests | 16 | 37 | luxon 21 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 66 | 23 | moment 2.9x higher |
| TypeScript types | Bundled | None | Differs |
| Module format | CommonJS | ESM + CommonJS | Differs |
| Runtimes | Browser, Node.js | Browser, Node.js | Same |
| License | MIT | MIT | Same |
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
moment
Major versions
- 1.1.027 Oct 2011
- 2.0.08 Feb 2013
Last 5 releases
- 2.31.015 Sept 2026
- 2.30.127 Dec 2023
- 2.30.026 Dec 2023
- 2.29.46 Jul 2022
- 2.29.317 Apr 2022
77 releases in total, 1 in the last 12 months
luxon
Major versions
- 0.0.124 May 2017
- 1.0.024 Mar 2018
- 2.0.09 Jul 2021
- 3.0.09 Jul 2022
Last 5 releases
- 3.7.25 Sept 2025
- 3.7.19 Jul 2025
- 3.7.09 Jul 2025
- 3.6.131 Mar 2025
- 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.
- date-fns vs luxon60 searches/mo
- dayjs vs moment40 searches/mo
- date-fns vs moment30 searches/mo
- luxon vs dayjs20 searches/mo
moment: moment npm registry, moment npm downloads, moment GitHub, moment jsDelivr, Moment.js README, Moment.js project status, Moment.js docs: Using Moment. Data fetched 25 Sept 2026.
luxon: luxon npm registry, luxon npm downloads, luxon GitHub, luxon jsDelivr, Luxon README, Why does Luxon exist?, Luxon install guide. Data fetched 25 Sept 2026.
Keyword demand: DataForSEO Google Ads search volume, US, English
Indexability: Indexed: 10 US searches/month across both orderings ("moment vs luxon", "luxon vs moment").