DEV Community

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

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
Thomas Bnt ☕

Yeep

Collapse
 
aminnairi profile image
Amin

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