timeago.js VS ms.js

Compare timeago.js vs ms.js and see what are their differences.

timeago.js

:clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement. (by hustcc)
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
timeago.js ms.js
2 8
5,179 4,987
- 1.1%
2.6 3.7
2 months ago about 1 month ago
TypeScript 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.

timeago.js

Posts with mentions or reviews of timeago.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-13.
  • Probuild Ex Part Three
    5 projects | dev.to | 13 Oct 2022
    We want to display when the game was played. ex: (1h ago, 1m ago ...) I found the nice timeago.js library.
  • Need to show 'minutes ago..' for a comment thread?
    1 project | /r/reactjs | 23 Jun 2022
    You've named your package showtimeago... If you search for "timeago" you'll find dozens or hundreds of the same. I've personally used https://www.npmjs.com/package/timeago.js in the past.

ms.js

Posts with mentions or reviews of ms.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-02.

What are some alternatives?

When comparing timeago.js and ms.js you can also consider the following projects:

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

pretty-ms - Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`

date-fns - ⏳ Modern JavaScript date utility library ⌛️

pretty-error - See node.js errors with less clutter

moment-timezone - Timezone support for moment.js

countdown.js - Super simple countdowns.

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

timezone-js

pretty-bytes - Convert bytes to a human readable string: 1337 → 1.34 kB

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