FS-Frost / asu-go2js

Asu is a library to work with subtitles on ASS format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asu-go2js

Run tests

Asu is a library to work with subtitles on ASS format.

asu-go2js is a port of Asu (originally for .NET) written in Go and compiled to JavaScript with TypeScript support.

Requeriments

Main make commands

# Compile Go to JavaScript
make build

# Run both Go and JavaScript tests
make test

Folder structure

go: Go source code.

go/exports: GopherJS exports.

js: JavaScript source code.

js/dist: JavaScript files produced by GopherJS targeting Node.js and Deno runtimes.

js/dist/asu.d.ts: manually written type definitions.

js/dist/browser: JavaScript files compiled by esbuild targeting browsers.

js/tests: JavaScript tests targeting js/dist.

About

Asu is a library to work with subtitles on ASS format.


Languages

Language:Go 90.2%Language:TypeScript 8.4%Language:Makefile 1.4%