# formkit/tempo

📆 Parse, format, manipulate, and internationalize dates and times in JavaScript and TypeScript.

Repository: https://github.com/formkit/tempo
Canonical: https://ross.abutalabs.com/products/formkit-tempo
Homepage: https://tempo.formkit.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: date, date-formatting, datetime, javascript, time, time-formatting, typescript
Last push: 2026-07-01T16:01:30+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 59, longevity 81
- inputs: {"age_days": 1135, "days_push": 63, "days_rel": 117, "gap_med": 137, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2589, forks 38 (observed 2026-08-28T04:07:02.834360+00:00)

## What it is
Tempo is a tiny, tree-shakable JavaScript/TypeScript library for parsing, formatting, manipulating, and internationalizing dates and times. It works with native Date objects and leverages Intl.DateTimeFormat under the hood for timezone offsets and locale-aware formatting.

## Use cases
- format dates for different locales in javascript
- parse a date string in any format
- convert dates between timezones
- manipulate and add to dates in typescript
- replace moment.js with a tiny date library
- internationalize date and time formatting in a web app

## When to choose
- you want a very small, tree-shakable date utility library
- you prefer working with native Date objects instead of custom date primitives
- you need locale-aware formatting or timezone handling without heavy dependencies

## When to avoid
- you need complex calendar features like recurring events or full calendar UI
- you already rely on a mature ecosystem like date-fns or Luxon with plugins
- you need immutable custom date types with rich chaining APIs

## Facets
- artifact type: library
- maturity: active
- function: date-time, internationalization, parser
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: date-formatting, timezone, tree-shakable, intl, momentjs-alternative, date-fns-alternative, nodejs, javascript, typescript

## Member repositories
- formkit/tempo (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.834360+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:21.953552+00:00, confidence not recorded.
  - readme: https://github.com/formkit/tempo (fetched 2026-08-28T04:07:02.834360+00:00, sha 886ce36ecb19)
  - homepage: https://tempo.formkit.com (fetched 2026-08-29T10:04:57.843048+00:00, sha 964c1f5e874a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
