Skip to content
JS
Package

pretty-ms

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

v9.3.1, 28 Aug 2026MITESM onlyTypes: Bundled
$ npm install pretty-ms

Key numbers

As of 25 Sept 2026
Weekly downloads
29.3m
+216% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
27 days ago
v9.3.1
GitHub stars
1.2k
70 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
6

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 40.1m (25 Aug 2026)Low 6.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

29,284,942 downloads last week, 146,711,030 in the last month. The 12-month change of +216% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
129 in total
Latest version
9.3.1, 28 Aug 202627 days ago
First published
20 Mar 2014
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
6
Dependents on npm
1,426

Major versions

  1. v9 first release 9.0.0, 18 Jan 2024
  2. v8 first release 8.0.0, 6 Jun 2022
  3. v7 first release 7.0.0, 27 Apr 2020
  4. v6 first release 6.0.0, 12 Feb 2020
  5. v5 first release 5.0.0, 24 Apr 2019
  6. v4 first release 4.0.0, 18 Sept 2018
  7. v3 first release 3.0.0, 15 Jul 2017
  8. v2 first release 2.0.0, 26 Jul 2015
  9. v1 first release 1.0.0, 22 Aug 2014
  10. v0 first release 0.1.0, 20 Mar 2014

Recent releases

VersionPublished
9.3.128 Aug 2026
9.3.015 Sept 2025
9.2.015 Nov 2024
9.1.023 Jul 2024
9.0.018 Jan 2024
8.0.06 Jun 2022
7.0.124 Sept 2020
7.0.027 Apr 2020
6.0.12 Mar 2020
6.0.012 Feb 2020
5.1.022 Nov 2019
5.0.024 Apr 2019
4.0.018 Sept 2018
3.2.025 May 2018
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (1)
parse-ms
npm install pretty-ms
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pretty-ms@9.3.1/
  • unpkghttps://unpkg.com/pretty-ms@9.3.1/
  • esm.shhttps://esm.sh/pretty-ms@9.3.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.