A JavaScript library for converting duration string into milliseconds. Example: import durationToMs from 'duration-to-ms' const DURATION = '24h' durationToMs(SESSION_DURATION) ms: millisecond s: second m: minute h: hour d: day w: week y: year