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

x/cueshit/conversion.ts>formatCueSheet

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

Serializes a cue sheet into the given format.

If no cue sheet formatter exists, a cue sheet will be generated by joining the individual formatted cues together with newlines.

Parameters

cueSheet: CueSheet

Cue sheet object.

formatId: CueFormatId

ID of the output format.

Returns

string | undefined

Serialized cue sheet or undefined if the given format has neither a cue sheet nor a cue formatter.