vercel/ms
Tiny millisecond conversion utility observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 83
- Release rhythm 8
- Longevity 100
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: 5292
- days_rel: n/a
- days_push: 105
- n_releases_24m: 0
Adoption not part of the score
5545 stars · 328 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny TypeScript utility for converting human-readable time strings like '2 days' to milliseconds and back. It supports many unit aliases, negative values, and strict type-level parsing.
Use cases
- convert '2 days' to milliseconds
- format milliseconds as human-readable duration
- parse duration strings in config files
- convert time units in Node.js scripts
- humanize cache TTL values
When to choose
- you need a tiny, dependency-free duration parser/formatter
- you want TypeScript-safe duration string parsing
- you need it to run in browsers, Node, Deno, Bun, or edge runtimes
When to avoid
- you need full-featured duration libraries with arithmetic or localization
- you need durations beyond years or calendar-accurate month/year math
Facets
library · maturity stable
date-time parser serialization developer-tools cross-platform bun browser cross-platform milliseconds time-conversion typescript utility nodejs deno
2 sources
- readme: https://github.com/vercel/ms · fetched 2026-08-28 · 4777b7a4da0c
- registry_npm: https://registry.npmjs.org/ms · fetched 2026-08-29 · 75e4172a6ab0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vercel/ms | main | 60 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem