getHomeFolderPath
Gets the user’s home folder. Call it only on desktop, behind Platform.isDesktopApp.
Import:
import { getHomeFolderPath } from '@mnaoumov/obsidian-lib/desktop-home-folder';Signature:
function getHomeFolderPath(): stringReturns: string — The absolute path of the home folder.