This is a simple opinionated wrapper around the Luxon library to provide pre-configured helpers.
For example, to get the current date in ISO format:
import { getISO } from '@frytg/dates';
getISO(); // returns string like 2025-01-01T00:00:00.000Z
You can also use the full DateTime
object from Luxon:
import { DateTime } from '@frytg/dates';
const date = DateTime.fromMillis(1719859200000);
Created by @frytg / frytg.digital
Unlicense - also see unlicense.org