SDK docs version: v0.1.25
Get the plugin installation directory path.
getPluginDirPath(): Promise<string | null | undefined>;
Promise<string | null | undefined>
import { PluginManager } from 'sn-plugin-lib'; /** * Example: get plugin directory path. */ export async function exampleGetPluginDirPath() { const dir = await PluginManager.getPluginDirPath(); return dir; }