Moment.js
Shares rank 11 of 24 JavaScript libraries by recommenders
JavaScript date library people say saves hours on hard date problems. Critics say it is large and native APIs cover simple needs.
JavaScript date library people say saves hours on hard date problems. Critics say it is large and native APIs cover simple needs.
18 people gave an opinion
- recommend it
- 10
- criticize it
- 8
- approval share
- 56%
Recommended in 6 of 13 months
- November 2025: not recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: not recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: not recommended
- July 2026: not recommended
- August 2026: recommended
- September 2026: not recommended
- October 2026: not recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 10 people recommend itNeeds 10 or more, met.
- 1.2 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 6 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Solves hard date and time problems
“Momentjs probably saved humanity millions of hours of collective coding and debugging”
Comment from 13 Jan 2026 in “Date is out, Temporal is in” “the two examples given (moment and react) solve really hard problems”
Comment from 29 Dec 2025 in “Karpathy on Programming”
What people warn about
Each mark is one comment
Large bundle, bundled timezone data
“I value bundling timezone data into the app too much”
Comment from 12 Mar 2026 in “Temporal: The 9-Year Journey to Fix Time in JavaScript” “my package size doubled by adding a date library”
Comment from 12 Jan 2026 in “Date is out, Temporal is in” “with bundled timezone databases, of course”
Comment from 17 Nov 2025 in “The fate of "small" open source” Native APIs and smaller libraries preferred
“I would argue that it is unwarranted to use such libraries, because we can do better in Vanilla with platform features now.”
Comment from 19 May 2026 in “Mini Shai-Hulud Strikes Again: 314 npm Packages Compromised” “has been deprecated for five years in favor of smaller libraries and native APIs”
Comment from 16 Feb 2026 in “JavaScript-heavy approaches are not compatible with long-term performance goals” Too complex for simple time conversion
“dropped in a big complex library like Moment.js just because you needed to convert a time”
Comment from 29 Dec 2025 in “Karpathy on Programming” “thought they were keeping it simple by sticking to moment.js. They weren't.”
Comment from 12 Jan 2026 in “Date is out, Temporal is in”
Other JavaScript libraries people recommend
The four most recommended other JavaScript libraries, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| jQuery | 111 | 48 | 70% | 12 | 16 yrs8 owners | Approved |
| Picknplace.js | 58 | 26 | 69% | 1 | — | — |
| Alpine.js | 50 | 16 | 76% | 11 | 1 yr4 owners | Approved |
| Effect (TypeScript library) | 38 | 16 | 70% | 10 | 2 yrs3 owners | Approved |
| Moment.jsThis page | 10 | 8 | 56% | 6 | — | — |
What people said
18 of the 19 comments that mention it, newest first. Each links to the original comment.
“I don't mind paying for quality apps”
“Moment and Luxon are fairly good”
“I would argue that it is unwarranted to use such libraries, because we can do better in Vanilla with platform features now.”
“I love their pitch so I'm following them with fingers crossed.”
“the first example you presented (on-call dashboard), was a bit too much from the get go”
“I tried it and I just get "Loading..." forever.”
“I value bundling timezone data into the app too much”
“JS datetime handling in both Date and Moment are disasters.”
“Moment is distinctive because (1) it's natively programmable, and (2) has a native, high-performance, live collaborative editing.”
“has been deprecated for five years in favor of smaller libraries and native APIs”
“Momentjs probably saved humanity millions of hours of collective coding and debugging”
“my package size doubled by adding a date library”
“thought they were keeping it simple by sticking to moment.js. They weren't.”
“I might want it for something that needs its more advanced features.”
“the two examples given (moment and react) solve really hard problems”
“dropped in a big complex library like Moment.js just because you needed to convert a time”
“Lodash or Moment.js, those are actual bona fide libraries”
“with bundled timezone databases, of course”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.