timeago.js is a tiny(2kb) library used to format date with `*** time ago`. eg: '3 hours ago'. No dependency. and support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago"). Download, view the examples, and enjoy. timeago.js was built to format date with `*** time ago` statement. You can test timeago.js with the live demo. Avoid timestamps dated "1 minute ago" even though the page was opened 10 minutes ago; timeago refreshes automatically. You can take full advantage of page caching in your web applications, because the timestamps aren't calculated on the server. Very tiny(less than 2kb), and has no dependency, e.g. jQuery.

Features

  • timeago.js has locale/i18n/language support
  • Package is managed with npm
  • timeago.js was built by Hustcc
  • Node and browser supported
  • You can register your own language with register API
  • Real-time render supported

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow timeago.js

timeago.js Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of timeago.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Time Tracking Software, TypeScript Scheduling Software

Registered

2021-11-18