Ross ROSS = Recommend OSS · open-source software intelligence for agents

EvanHahn/HumanizeDuration.js

361000 becomes "6 minutes, 1 second" observed · 2026-08-28

github.com/EvanHahn/HumanizeDuration.js · homepage · JavaScript · Unlicense (permissive) observed · 2026-08-28

Health v2 · maintenance only

76/100

  • Activity 98
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4800
  • days_rel: n/a
  • days_push: 14
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1732 stars · 177 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small JavaScript library that converts millisecond durations into human-readable strings like '1 day, 3 hours, 2 minutes'. It supports dozens of languages, configurable units, and works in Node and the browser.

Use cases

  • format milliseconds as human-readable duration
  • display elapsed time like '3 seconds' or '2 hours, 5 minutes'
  • show localized duration strings in multiple languages
  • convert a duration to a specific set of units like hours and minutes
  • render countdown or timer durations in a UI

When to choose

  • you need human-readable duration text in JavaScript with broad language support
  • you want a tiny dependency-free library usable in Node or the browser
  • you need fine control over which units appear and decimal precision

When to avoid

  • you can use the built-in Intl.DurationFormat API instead
  • you need to parse duration strings back into milliseconds
  • you need date arithmetic or calendar-aware time handling rather than plain durations

Facets

library · maturity maintenance

internationalization date-time developer-tools web-development browser cross-platform duration-formatting human-readable javascript npm-package localization nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
EvanHahn/HumanizeDuration.jsmain76

For agents

markdown · JSON · MCP: product_card(name="EvanHahn/HumanizeDuration.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem