API reference: @salmonui/export/ics
parseICalendarfunction
import { parseICalendar } from '@salmonui/export/ics';function parseICalendar(text: string): ICalendarDocument;
Parses iCalendar text (RFC 5545): unfolds lines, unescapes TEXT values and
reads every VEVENT (nested components such as VALARM are skipped). A
VEVENT without a readable DTSTART is dropped. A DURATION without DTEND
becomes end.