A small, fast JavaScript utility that converts between human-readable time strings and millisecond numbers. It provides `parse` to turn strings like "2 days" into milliseconds and `format` to turn millisecond values back into strings (optionally using long forms like "2 minutes").
Project status
- The source appears quiet/dormant relative to today (2026-08-12), with the last upstream push on 2024-01-15 and the most recent published update listed as v2.0.2 on 2023-11-28.
- Update cadence is sporadic, with multi-month to multi-year gaps between updates (for example, v2.0.2 in late 2023, v2.0.1 in late 2022, v2.0.0 in early 2021).
AI summary generated
Recent updates
v2.0.2
Release v2.0.2 provides essentially no published release notes. The only code diff is a TypeScript declaration change plus a package.json version bump.
v2.0.1
v2.0.1 is a small patch release with changes focused on developer ergonomics, specifically TypeScript type resolution and a README notice link update. The code diff shows only metadata and packaging changes, with no behavioral logic changes to the millisecond conversion utility itself.
v2.0.0
v2.0.0 introduces a change to how the package is exported to support native Node.js ESM via an `exports` map. It also adjusts distribution artifacts, including the TypeScript definition filename and the UMD global name.
Breaking