Parses and compiles ASS/SSA subtitle format into an easy-to-use data structure. Current stable version: 0.1.16. Released as needed with minor fixes and enhancements. Key differentiators: provides both low-level parse/stringify and high-level compile/decompile with validation, tag merging, drawing transformation, and default style support. Ships TypeScript types. Alternatives require more manual parsing or lack validation.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
ESM-only since v0.1.13; CommonJS require will not work with default import.
compile is a named export, not default. ESM-only.
Converts parsed JSON back to ASS text.
Demonstrates parsing, compiling with options, and round-tripping ASS text using parse, compile, stringify, and decompile.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.