Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cueshit/duration.ts>parseDuration

Convert between different cue sheet / chapter / tracklist formats
Latest
function parseDuration
import { parseDuration } from "https://deno.land/x/cueshit@v0.7.0/duration.ts";

Parses a duration in seconds from the given m:s or H:m:s string.

Parameters

time: string

Returns

number