ms
Tiny millisecond conversion utility
About this project
ms Use this package to easily convert various time formats to milliseconds. Examples Convert from Milliseconds Time Format Written-Out Input Formats (Units) These formats can be lowercase (minutes), uppercase (MINUTES), or capitalized (Minutes). There can be a space (2 minutes) or not (2minutes). [!NOTE] The casing and spacing is enforced at a type level if you use parseStrict. If no unit is passed (2), the unit will default to Milliseconds. Fractional input values like 0.5m, -0.5m, .5m, and -.5m are supported. Installation You can install this package using a package manager like npm, yarn, pnpm, deno, or bun. Features — Works in both browsers and server…
Technologies
Project health
GitHub
Reviews
Built by
Maintain vercel/ms? Claiming verifies admin access through your GitHub account and gives you control of this listing.