alternatives to

Moment.js

Parse, validate, manipulate, and display dates in javascript.

Day.js, date-fns, Luxon and more. 4 alternatives to Moment.js, in JavaScript, TypeScript. Compare fit, licence, stars and the latest signed release. Drop-in: Day.js.

Side by side

4 open source alternatives to Moment.js
ToolFitStarsLicenceTermsSelf-hostedLanguageLatestLast push
Day.jsDrop-in49kMITOpen sourceNoJavaScriptv1.11.232026-11-06
date-fnsFull replacement37kNone detectedOpen sourceNoTypeScriptv4.4.02026-10-26
LuxonFull replacement16kMITOpen sourceNoJavaScript3.7.22026-08-09
spacetimeFull replacement4.1kApache-2.0Open sourceNoJavaScript7.17.12026-11-09

Every alternative

Language
Licence
Fit

4 alternatives

Day.jsDrop-in

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

Moment-compatible API in about 2 kB.

Language
JavaScript
Licence
MIT
Stars
49k
Latest
v1.11.23
Last push
2026-11-06

Head to head

About Moment.js

Language
JavaScript
Licence
MIT
Stars
48k
Last push
2026-10-08

About Moment.js →