javascript-time-ago VS date-fns

Compare javascript-time-ago vs date-fns and see what are their differences.

javascript-time-ago

International highly customizable relative date/time formatting (by catamphetamine)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
javascript-time-ago date-fns
1 115
363 33,682
- 0.5%
1.0 9.3
about 1 year ago 7 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

javascript-time-ago

Posts with mentions or reviews of javascript-time-ago. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2020-10-11.
  • How I Gave A Modern Look For HackerNews Feed
    2 projects | dev.to | 11 Oct 2020
    I found an amazing package called javascript-time-ago which is a highly customizable relative date/time formatted. I used this to show the relative dates and times like 3 mins ago, 23 hrs ago etc.

date-fns

Posts with mentions or reviews of date-fns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-26.

What are some alternatives?

When comparing javascript-time-ago and date-fns you can also consider the following projects:

dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

js-joda - :clock2: Immutable date and time library for javascript

Luxon - ⏱ A library for working with dates and times in JS

hacker-news-client - Clone of Hacker News with modern design

moment - Parse, validate, manipulate, and display dates in javascript.

jquery-timeago - :clock8: The original jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago").

countdown.js - Super simple countdowns.

moment-timezone - Timezone support for moment.js

timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.

fecha - Lightweight and simple JS date formatting and parsing