Carova

Install Luxon DateTime Node Library

The best Javascript based DateTime library. Luxon DateTime is Javascript based and includes DateTimes, Durations, and Intervals.

Install Guide

NodeJS

Supports Node.js 6+. Install via NPM:


1npm install --save luxon

Node

1const { DateTime } = require("luxon");

ES6

1import { DateTime } from"luxon";

Types

1npm install --save-dev @types/luxon