Package
moment
Date library for parsing, validating, manipulating and formatting dates.
v2.31.0, 15 Sept 2026MITCommonJSTypes: BundledRuns in: Browser, Node.jsDate and timeInternationalisation
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
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
- v2 first release 2.0.0, 8 Feb 2013
- v1 first release 1.1.0, 27 Oct 2011
Recent releases
| Version | Published |
|---|---|
| 2.31.0 | 15 Sept 2026 |
| 2.30.1 | 27 Dec 2023 |
| 2.30.0 | 26 Dec 2023 |
| 2.29.4 | 6 Jul 2022 |
| 2.29.3 | 17 Apr 2022 |
| 2.29.2 | 3 Apr 2022 |
| 2.29.1 | 6 Oct 2020 |
| 2.29.0 | 22 Sept 2020 |
| 2.28.0 | 13 Sept 2020 |
| 2.27.0 | 18 Jun 2020 |
| 2.26.0 | 20 May 2020 |
| 2.25.3 | 4 May 2020 |
| 2.25.2 | 4 May 2020 |
| 2.25.1 | 1 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 momentCDN
jsDelivr: 359.4m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/moment@2.31.0/ - unpkg
https://unpkg.com/moment@2.31.0/ - esm.sh
https://esm.sh/moment@2.31.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| date-fns | 72.4m | - | 3 months ago | ESM + CommonJS | date-fns vs moment |
| dayjs | 51.5m | - | 1 month ago | CommonJS | dayjs vs moment |
| luxon | 27.4m | - | 1 year ago | ESM + CommonJS | moment 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
Indexability: Indexed.