Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.54 KB

momentjs.md

File metadata and controls

36 lines (20 loc) · 1.54 KB

Moment.js

Moment.js has a large footprint and other, lighter alternatives exist.

We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done.

moment.js - project status

Alternatives

Luxon

Luxon can be thought of as the evolution of Moment. It is authored by Isaac Cambron, a long-time contributor to Moment. Please read Why does Luxon exist? and the For Moment users pages in the Luxon documentation.

Project Page npm

Day.js

Day.js is designed to be a minimalist replacement for Moment.js, using a similar API. It is not a drop-in replacement, but if you are used to using Moment's API and want to get moving quickly, consider using Day.js.

Project Page npm

date-fns

Date-fns offers a series of functions for manipulating JavaScript Date objects. For more details, scroll to "Why date-fns?" on the date-fns home page.

Project Page npm

You don’t (may not) need Moment.js

Here you could read how to replace Moment.js in your project.

Website