Luxon: Detailed Overview & Metrics

v3.5.0(4 months ago)

This package is actively maintained.Types definitions are provided via a separate npm package: @types/luxonNumber of direct dependencies: 0Monthly npm downloads

Luxon is a modern JavaScript library for working with dates and times, offering a rich set of features for parsing, formatting, and manipulating date and time values. It provides a more robust and feature-rich alternative to Moment.js, with better support for internationalization, timezones, and formatting options. Luxon follows the ECMAScript Internationalization API standards and provides a cleaner and more intuitive API for handling dates.

Compared to Moment.js, Luxon is actively maintained and offers better performance and modern features. It is recommended for new projects that require advanced date and time handling capabilities.

Alternatives:
date-fns+
dayjs+
moment+
js-joda+
chrono-node+
spacetime+
date-and-time+
timeago.js+
fecha+
date-fns-tz+

Tags: javascriptdatetimeformattingparsing