Skip to content
/ tempo Public

πŸ“† Parse, format, manipulate, and internationalize dates and times in JavaScript and TypeScript.

License

Notifications You must be signed in to change notification settings

formkit/tempo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a748d5b Β· Aug 21, 2024
Apr 17, 2024
Aug 15, 2024
Mar 17, 2024
Aug 21, 2024
Jul 25, 2023
Jul 25, 2023
Jul 25, 2023
Aug 21, 2024
Mar 18, 2024
Jul 25, 2023
Mar 18, 2024
Jun 27, 2024
Jun 27, 2024
Apr 3, 2024
Feb 2, 2024
Feb 8, 2024
Apr 3, 2024

Repository files navigation

TEMPO

Vitest GitHub Sponsors NPM Version

Tempo β€” The easiest way to work with dates in JavaScript (and TypeScript)

Tempo is a new library in a proud tradition of JavaScript date and time libraries. Inspired by the likes of moment.js, day.js, and date-fns Tempo is built from the ground up to be as small and easy to use as possible.

Tempo is best thought of as a collection of utilities for working with Date objects β€” an important distinction from other libraries that provide custom date primitives. Under the hood, Tempo mines JavaScript's Intl.DateTimeFormat to extract complex data like timezones offsets and locale aware date formats giving you a simple API to format, parse, and manipulates dates.

Tempo is tiny tree-shakable framework, you can only take what you need. All functionality is available in 5.2 kB for esm and 5.5 kB for cjs modules (minified and brotlied). Size Limit controls the size.

Read the docs

Created by the FormKit team.