Skip to content

Vault.readPluginData method

Vault › readPluginData

Unofficial

Read a plugin config file (full path relative to vault root) from the vault and parse it as JSON.

Signature:

readPluginData(path: string): Promise<null | object>

Parameters:

Parameter Type Description
path string Full path to plugin config file.

Returns: Promise<null | object>The parsed JSON object, or null if not found.