human-time-2026: Convert Timestamps to Human Time with JavaScript
Source: Dev.to

Overview
human-time-2026 is a JavaScript library that converts timestamps into natural relative time formats such as “just now”, “this morning”, or “3 days ago”.
Key Features
- Zero dependencies.
- Works with past and future dates.
- Context‑aware formatting that detects morning, afternoon, and evening periods.
- Universal compatibility: Node.js, Bun, Deno, and browsers.
- Small footprint – the entire implementation is under 1 KB.
Use Cases
Ideal for chat applications, social feeds, and notification systems where human‑readable time is needed without the overhead of large date libraries.