relative-time

relative-time

chrisburnell

A Web Component to display a relative time (e.g. "5 minutes ago", "in 2 days"). Uses the built-in Intl.RelativeTimeFormat API.

36 Stars
0 Forks
36 Watchers
JavaScript Language
mit License
100 SrcLog Score
Cost to Build
$2.6K
Market Value
$4.1K

Growth over time

4 data points  ·  2025-06-06 → 2026-04-26
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about relative-time

Question copied to clipboard

What is the chrisburnell/relative-time GitHub project? Description: "A Web Component to display a relative time (e.g. "5 minutes ago", "in 2 days"). Uses the built-in Intl.RelativeTimeFormat API.". Written in JavaScript. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone relative-time

Clone via HTTPS

git clone https://github.com/chrisburnell/relative-time.git

Clone via SSH

[email protected]:chrisburnell/relative-time.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the relative-time issue tracker:

Open GitHub Issues