# Moment.js

10 Hacker News commenters recommended Moment.js and 8 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** JavaScript date library people say saves hours on hard date problems. Critics say it is large and native APIs cover simple needs.

## Why people recommend it

- Solves hard date and time problems (2 comments): "Momentjs probably saved humanity millions of hours of collective coding and debugging" ([source](https://news.ycombinator.com/item?id=46598249)) "the two examples given (moment and react) solve really hard problems" ([source](https://news.ycombinator.com/item?id=46427079))

## What people warn about

- Large bundle, bundled timezone data (3 comments): "I value bundling timezone data into the app too much" ([source](https://news.ycombinator.com/item?id=47350502)) "my package size doubled by adding a date library" ([source](https://news.ycombinator.com/item?id=46590697)) "with bundled timezone databases, of course" ([source](https://news.ycombinator.com/item?id=45952288))
- Native APIs and smaller libraries preferred (2 comments): "I would argue that it is unwarranted to use such libraries, because we can do better in Vanilla with platform features now." ([source](https://news.ycombinator.com/item?id=48196517)) "has been deprecated for five years in favor of smaller libraries and native APIs" ([source](https://news.ycombinator.com/item?id=47030518))
- Too complex for simple time conversion (2 comments): "dropped in a big complex library like Moment.js just because you needed to convert a time" ([source](https://news.ycombinator.com/item?id=46425608)) "thought they were keeping it simple by sticking to moment.js. They weren't." ([source](https://news.ycombinator.com/item?id=46590449))

## Alternatives hackers recommend

- [jQuery](https://hackerapproved.com/p/jquery.md): 111 recommend
- [Picknplace.js](https://hackerapproved.com/p/picknplace-js.md): 58 recommend
- [Alpine.js](https://hackerapproved.com/p/alpine-js.md): 50 recommend
- [Effect (TypeScript library)](https://hackerapproved.com/p/effect.md): 38 recommend
- [Video.js](https://hackerapproved.com/p/video-js.md): 24 recommend

## Cite as

Hacker Approved, "Moment.js", https://hackerapproved.com/p/moment/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
