@openanime/ass2esl
Version:
Utilities to convert Advanced SubStation Alpha (ASS) to Expressive Subtitle Language (ESL)
10 lines (8 loc) • 681 B
TypeScript
declare function convertVBHexToCssColor(vbHexColor: string): string;
declare function quoteString(s: string): string;
declare function secondsToMilliseconds(seconds: number): number;
declare function formatHclValue(key: string, value: any): string | number | boolean;
declare function transformAssTextToEsl(assText: string): string;
declare function getDifferenceKeys(source: Record<string, any>, target: Record<string, any>): string[];
declare function diffObj(source: Record<string, any>, target: Record<string, any>): Record<string, any>;
export { convertVBHexToCssColor, diffObj, formatHclValue, getDifferenceKeys, quoteString, secondsToMilliseconds, transformAssTextToEsl };