date-fns/date-fns
⏳ Modern JavaScript date utility library ⌛️ observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 97
- Release rhythm 86
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 4349
- days_rel: 96
- days_push: 23
- n_releases_24m: 6
Adoption not part of the score
36645 stars · 2002 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
date-fns is a modern JavaScript date utility library providing 200+ modular, immutable functions for parsing, formatting, and manipulating dates. It works in browsers and Node.js, uses native Date objects, and offers extensive locale support for internationalization.
Use cases
- format dates as strings in JavaScript
- parse and manipulate dates in Node.js
- add or subtract time from a date
- compare and sort dates
- format dates with international locales
- handle dates across time zones
- calculate differences between dates
When to choose
- you need a comprehensive, tree-shakeable date utility library for JavaScript or TypeScript
- you want immutable, pure functions that don't extend native Date objects
- you need internationalization with dozens of locales
- you want first-class time zone support
When to avoid
- you need a full calendar UI component rather than date utilities
- your project already standardizes on another date library like Day.js or Luxon
- you work in a non-JavaScript language
Facets
library · maturity stable
date-time internationalization developer-tools web-development browser cross-platform javascript typescript immutable tree-shaking timezones date-manipulation localization nodejs
2 sources
- readme: https://github.com/date-fns/date-fns · fetched 2026-08-28 · faf510a8cd0e
- homepage: https://date-fns.org · fetched 2026-08-29 · a11af4739f9f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| date-fns/date-fns | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="date-fns/date-fns")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem