lukeed/tinydate
A tiny (349B) reusable date formatter. Extremely fast! observed · 2026-10-21
Health v2 · maintenance only
66/100
- Activity 96
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3459
- days_rel: n/a
- days_push: 28
- n_releases_24m: 0
Adoption not part of the score
1068 stars · 16 forks observed · 2026-10-21
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tinydate is a tiny (349B) JavaScript date formatting library that compiles a template pattern into a reusable render function. It supports a limited set of date patterns (year, month, day, hours, minutes, seconds, milliseconds) with optional custom dictionaries, and is extremely fast compared to alternatives.
Use cases
- format dates as timestamps in javascript
- render a date template string repeatedly with high performance
- format current time as HH:mm:ss in node
- customize date pattern tokens like month names
- replace heavier date libraries with a 349-byte formatter
When to choose
- you need a minimal, dependency-free date formatter
- performance matters and you only need basic date/time tokens
- you want a reusable compiled template for repeated date rendering
When to avoid
- you need locale-aware or complex date formatting (use date-fns or Intl)
- you need timezone conversion or date manipulation
- you need patterns beyond the supported subset like month names by default
Facets
library · maturity stable
date-time templating serialization developer-tools web-development browser date-formatter tiny zero-dependency performance timestamp algorithms nodejs javascript
3 sources
- readme: https://github.com/lukeed/tinydate · fetched 2026-10-21 · 6ae5c97c0525
- homepage: https://jsfiddle.net/lukeed/aoy0xeze/ · fetched 2026-08-29 · b3bfba784ccd
- registry_npm: https://registry.npmjs.org/tinydate · fetched 2026-08-29 · ccb78976f2af
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lukeed/tinydate | main | 66 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem