Skip to content

lightgun-poc / lib/buttons / parseButtonConfig

Function: parseButtonConfig()

parseButtonConfig(text): ButtonConfig

Defined in: lib/buttons.ts:66

Validates already-read buttons.json text — the form the single executable uses, where the config is a SEA asset rather than a file.

Parameters

text

string

Returns

ButtonConfig

Released under the MIT License.