What is Tempo
mainTempo is a lightweight, tree-shakable utility library for working with native JavaScript Date objects. Unlike libraries that introduce custom date primitives, Tempo provides a collection of utilities to format, parse, and manipulate standard Date objects. It leverages the built-in Intl.DateTimeFormat API to handle complex operations like timezone offsets and locale-aware formatting.
Because it is tree-shakable, you only include the code you use. For example, timezone support requires only a few bytes, while full international date formatting is approximately 2Kb (minified and brotlied).