Skip to content
JS
Package

moment

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

v2.31.0, 15 Sept 2026MITCommonJSTypes: BundledRuns in: Browser, Node.jsDate and timeInternationalisation
$ npm install moment

Key numbers

As of 25 Sept 2026
Weekly downloads
26.5m
+22% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 days ago
v2.31.0
GitHub stars
47.9k
7k forks
Open issues / PRs
41 / 16
Contributors
-
Commits, last 52 weeks
66

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 36.8m (18 Aug 2026)Low 13.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

26,501,970 downloads last week, 129,570,154 in the last month. The 12-month change of +22% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
177 in total
Latest version
2.31.0, 15 Sept 202610 days ago
First published
17 Oct 2011
Last push to GitHub
15 Sept 202610 days before the snapshot
Repository archived
No
Open issues
41
Open pull requests
16
Commits, last 52 weeks
66
Dependents on npm
71,498

Major versions

  1. v2 first release 2.0.0, 8 Feb 2013
  2. v1 first release 1.1.0, 27 Oct 2011

Recent releases

VersionPublished
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
2.29.23 Apr 2022
2.29.16 Oct 2020
2.29.022 Sept 2020
2.28.013 Sept 2020
2.27.018 Jun 2020
2.26.020 May 2020
2.25.34 May 2020
2.25.24 May 2020
2.25.11 May 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
*
Runtimes
Browser, Node.jsFrom the package docs
Unpacked size (npm)
4.3 MB
Dependencies (0)
None
npm install moment

CDN

jsDelivr: 359.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/moment@2.31.0/
  • unpkghttps://unpkg.com/moment@2.31.0/
  • esm.shhttps://esm.sh/moment@2.31.0
PackageWeekly downloadsGzipLast releaseModuleComparison
date-fns72.4m-3 months agoESM + CommonJSdate-fns vs moment
dayjs51.5m-1 month agoCommonJSdayjs vs moment
luxon27.4m-1 year agoESM + CommonJSmoment vs luxon
  • 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.

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.