subforge
Version:
High-performance subtitle toolkit for parsing, converting, and authoring across 20+ formats.
19 lines (17 loc) • 554 B
text/typescript
/**
* LRC (Lyric) subtitle format parser and serializer.
*
* LRC is a text-based format for storing song lyrics with timestamps.
* Format: [MM:SS.xx]Lyric text
*
* Features:
* - Simple LRC: Line-level timing
* - Enhanced LRC: Word-level timing with <MM:SS.xx>word syntax
* - Metadata tags: [ti:], [ar:], [al:], [au:], [offset:], etc.
*
* @module lrc
*/
export { parseTime, formatTime } from './time.ts'
export { parseLRC } from './parser.ts'
export { toLRC } from './serializer.ts'
export type { LRCSerializeOptions } from './serializer.ts'