1.1.2 • Published 7 months ago

@openanime/ass2esl v1.1.2

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

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