pretty-ms VS pretty-bytes

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

pretty-ms

Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s` (by sindresorhus)

pretty-bytes

Convert bytes to a human readable string: 1337 → 1.34 kB (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 pretty-bytes
1 2
1,008 1,070
- -
5.7 3.1
3 months ago 10 months ago
JavaScript JavaScript
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.

pretty-bytes

Posts with mentions or reviews of pretty-bytes. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-19.
  • NPM Needs: pretty-bytes
    1 project | dev.to | 9 Apr 2022
    Github Repo: sindresorhus/pretty-bytes
  • Major updates for bundle.js.org v0.0.3
    9 projects | dev.to | 19 Sep 2021
    I used monaco-editor for the code-editor, esbuild and rollup as bundler and treeshaker respectively, pako as a js port of the zlib and gzip libraries, pretty-bytes to convert the gzip size to human readable values, and countapi-js to keep track of the number of page visits, in a private and secure way.

What are some alternatives?

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

ms.js - Tiny millisecond conversion utility

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

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

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

pako - high speed zlib port to javascript, works in browser & node.js

learnbyvideo.dev - Find the best web development videos

uniroll - Opinionated universal frontend bundler in browser