mpv-assdraw
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

mpv-assdraw

Port of assdraw.lua to TypeScript.

Install

npm i mpv-assdraw

Usage

import AssDraw from "mpv-assdraw";

const { width, height } = mp.get_osd_size();
const ass = new AssDraw();
ass.new_event();
ass.append("test");
mp.set_osd_ass(width, height, ass.text);

Package Sidebar

Install

npm i mpv-assdraw

Weekly Downloads

2

Version

0.1.0

License

LGPL-2.1-or-later

Unpacked Size

33.5 kB

Total Files

5

Last publish

Collaborators

  • kagami