CodeBrowser / npm / ms
ms@2.1.3
// Tiny millisecond conversion utility
$ npm install ms
downloads/wk
510,865,084
license
MIT
version
2.1.3
published
Dec 8, 2020
What is ms?
The ms package converts time durations between milliseconds and human-readable formats like "5s", "2h", or "1d". Developers use it to parse time strings into milliseconds for configuration files and timeouts, or to format millisecond values into readable strings for logs and user-facing output.
Maintainers
matheuss, rauchg, nick.tracey, vercel-release-bot, zeit-bot, matt.straka