UNPKG

@akiver/cs-demo-analyzer

Version:

Analyze and extract data from Counter-Strike demos.

17 lines (16 loc) 645 B
import { DemoSource, ExportFormat } from './constants'; export type Options = { demoPath: string; outputFolderPath: string; format: ExportFormat; source?: DemoSource; analyzePositions?: boolean; minify?: boolean; onStart?: (command: string) => void; onStdout?: (data: string) => void; onStderr?: (data: string) => void; onEnd?: (exitCode: number) => void; executablePath?: string; }; export declare function analyzeDemo({ demoPath, outputFolderPath, format, source, analyzePositions, minify, onStart, onStdout, onStderr, onEnd, executablePath, }: Options): Promise<void>; export * from './constants';