stdlib-js

stdlib-js/time-duration2ms

Convert a duration string to milliseconds.

JavaScript
2
0
Apache License 2.0

This project provides a JavaScript utility to convert duration strings (e.g., "1d2h3m4s5ms") into their equivalent millisecond values, supporting units for days, hours, minutes, seconds, and milliseconds. It's designed for developers working with time-based calculations in JavaScript applications, particularly those using the stdlib library ecosystem.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
45 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet