pretty-ms VS ms.js

Compare pretty-ms vs ms.js and see what are their differences.

pretty-ms

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s` (by sindresorhus)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
pretty-ms ms.js
1 7
1,008 4,970
- 1.3%
5.7 3.7
3 months ago 21 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.

pretty-ms

Posts with mentions or reviews of pretty-ms. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-29.
  • Using pure ESM npm packages in serverless-webpack bundles
    5 projects | dev.to | 29 Jul 2022
    Recently, some of the npm packages I was using together with Serverless Framework had upgraded to 'pure ESM'. This meant that they no longer supported the older CommonJS require syntax and I needed to figure out how get Webpack to bundle eveything up nicely again to deploy as a CommonJS AWS lambda.

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 2023-04-27.

What are some alternatives?

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

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

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

humanize - A JS library for adding a “human touch” to data.

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

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

read-art - Scrape/Crawl article from any site automatically. Make any web page readable, no matter Chinese or English.

serverless-webpack - Serverless plugin to bundle your lambdas with Webpack

moment-timezone - Timezone support for moment.js

learnbyvideo.dev - Find the best web development videos