Moment.js
Parse, validate, manipulate, and display dates in javascript. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 99
- Release rhythm 63
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5664
- days_rel: 38
- days_push: 10
- n_releases_24m: 1
Adoption not part of the score
47914 stars · 6977 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Moment.js is a widely used JavaScript library for parsing, validating, manipulating, and formatting dates and times, with companion package moment-timezone for timezone support. It is now in maintenance mode, meaning it receives no new features and only critical fixes.
Use cases
- parse and format dates in javascript
- display relative time like '5 minutes ago'
- convert dates between timezones
- format dates for multiple locales
- validate user-entered dates
- add or subtract days from a date
- compare whether a date is between two others
When to choose
- maintaining an existing codebase that already uses Moment.js
- you need battle-tested date parsing with extensive locale and timezone support
- your project cannot easily migrate to modern alternatives
When to avoid
- starting a new project - the team recommends modern alternatives like Luxon, Day.js, or date-fns
- you need bundle-size-sensitive code, since Moment is large and not tree-shakeable
- you need new features or long-term active development
Facets
library · maturity maintenance
date-time internationalization parser serialization web-development frontend developer-tools browser cross-platform date-manipulation timezone-support locale-support legacy-project formatting localization nodejs javascript
5 sources
- readme: https://github.com/moment/moment · fetched 2026-08-28 · e1a80a9f6610
- homepage: https://momentjs.com · fetched 2026-08-29 · ab349f0f9d8f
- site_page: https://momentjs.com/docs · fetched 2026-08-29 · 0b7c9bd65dab
- registry_npm: https://registry.npmjs.org/moment · fetched 2026-08-29 · 149a7a4f8365
- registry_npm: https://registry.npmjs.org/moment-timezone · fetched 2026-08-29 · 36ec302fb512
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moment/moment | main | 87 |
| moment/moment-timezone | plugin | 92 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem