{
  "slug": "date-fns-day-js",
  "name": "date-fns + Day.js",
  "url": "https://date-fns.org",
  "cat": "dx",
  "group": "build",
  "tagline": "Date formatting",
  "price": "Free · MIT",
  "tier": "free",
  "pick": false,
  "what": "The two live replacements for the deprecated Moment.js. date-fns (v4) is a tree-shakeable set of pure functions with first-class time-zone support. Day.js is a 2KB immutable wrapper with a Moment-compatible API and optional plugins.",
  "why": "Relative timestamps, date maths and time zones are where hand-written code quietly breaks across DST and locales. Pick date-fns for tree-shaking, Day.js for the smallest bundle or a Moment port.",
  "warn": "Never install Moment.js — it is in maintenance mode and ships huge locale files. The native <code>Temporal</code> API is arriving but is not yet safe to rely on everywhere.",
  "install": "npm install date-fns",
  "category": {
    "key": "dx",
    "name": "Libraries & build tooling",
    "desc": "The dependencies your AI will reach for whether or not you chose them. Know what they are.",
    "group": "build",
    "groupName": "Build it"
  },
  "freshness": null,
  "health": {
    "ok": true,
    "status_code": 200,
    "final_url": "https://date-fns.org/",
    "checked_at": "2026-08-18T20:59:38.827+00:00"
  },
  "corrected_at": null,
  "upstream_changed_at": null
}