Luxon: Detailed Overview & Metrics

v3.4.4(6 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 and times.

Compared to Moment.js, Luxon is actively maintained, has a smaller bundle size, and offers better performance. It is recommended for new projects requiring date and time manipulation, especially for applications that need extensive timezone support and internationalization capabilities.

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

Tags: javascriptdatetimeformattingparsing