Skip to main content
A few convenience helpers. For unload callbacks, see api.onUnload.

Methods

loadArchive

Unpack an archive so you can read its files. Pass the raw archive data (string or buffer) with type "Tar" or "Zip", or a folder path with no type. Returns a FileArchive. Removed when your script unloads. The FileArchive you get back:

configLoaded

Signal fired with (name) when the user loads a config (from file or cloud). Re-read your control values here if you cache them. Disconnects on unload.