slippi-combo-detector
v2.2.11
Published
Library meant to aid in developers extracting combo data from Slippi replays and give a human-readable digest of combos detected.
Maintainers
Readme
Slippi Combo Detector
Author: Sasank 'squatch' Vishnubhatla
Introduction
To import the Slippi Combo Detector library, fist install it via npm:
npm install slippi-combo-detector --save-devThen, you will gain access to the ComboDetector and ConversionDetector classes and the following type:
ComboProcessedCombo
ConversionProcessedConversion
Move
In addition to these interfaces, the MoveName and MoveType enums are exposed as well.
Within the ComboDetector class, there are four public functions:
constructor(input: string): ComboDetector
getStats(): StatsType | null
getSettings(): SettingsType | null
getCombos(connectCode: string): Combo[]
getProcessedCombos(connectCode: string): ProcessedCombo[]This parallels for the ConversionDetector class:
constructor(input: string): ConversionDetector
getStats(): StatsType | null
getSettings(): SettingsType | null
getConversions(connectCode: string): Conversion[]
getProcessedConversions(connectCode: string): ProcessedConversion[]License
See LICENSE.
