Skip to content

beyond-all-reason/demo-parser

Repository files navigation

SpringRTS Demo Parser

Parser for SpringRTS .sdfz demo files

Usage

npm i --save sdfz-demo-parser

import { DemoParser } from "sdfz-demo-parser";

(async () => {
    const demoPath = "./example/20201219_003920_Altored Divide Bar Remake 1_104.0.1-1707-gc0fc18e BAR.sdfz";

    const parser = new DemoParser();

    const demo = await parser.parseDemo(demoPath);

    console.log(demo.info.spectators[1].name); // [Fx]Jazcash
})();

About

Parser for SpringRTS .sdfz demo files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •