Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 944 Bytes

File metadata and controls

24 lines (17 loc) · 944 Bytes

ass2esl: Advanced Substation Alpha to Expressive Subtitle Language

License: MIT

ESL is an open-source initiative defining a rich, human-readable subtitle format designed for expressive and dynamic text presentations. It leverages the clarity of HCL (HashiCorp Configuration Language) to provide a comprehensive framework for timed text, intricate styling, complex motion effects, and karaoke.

Usage

Read an ASS file and convert it to ESL:

import convertASStoESL from '@openanime/ass2esl';
import { readFileSync } from 'fs';

const assFile = readFileSync('example.ass', 'utf-8');
const eslContent = convertASStoESL(assFile);

console.log(eslContent); // Outputs the ESL content