'500ms', '90s', '2m', '1h', '1d', '1w', long forms such as
'5 minutes', or a number / digit string meaning milliseconds).
Parameters
Returns
numberDocumentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Function exported by @botmesh/core.
function parseDuration(input): number;
'500ms', '90s', '2m', '1h', '1d', '1w', long forms such as
'5 minutes', or a number / digit string meaning milliseconds).
| Parameter | Type |
|---|---|
input | string | number |
number