DEV Community

loading...

Discussion on: You probably don't need Moment.js

Collapse
thomasbnt profile image
Thomas Bnt

Heyn you can also use Humanize duration, he's lighter than moment.

npmjs.com/package/humanize-duration

Collapse
nombrekeff profile image
Keff • Edited

Also day.js is quite light

Collapse
aminnairi profile image
Amin Author

Keep sharing your favorite date/time libraries! Thanks for that one.

Thread Thread
nombrekeff profile image
Keff

I also found this one back in the day, It's done by one of moment's contributors:

github.com/moment/luxon

Collapse
thomasbnt profile image
Collapse
aminnairi profile image
Amin Author

I didn't know that one, I'll check it out. Thanks for sharing with us!

Forem Open with the Forem app