UNPKG

lorehub

Version:

Capture and surface the collective wisdom of your codebase

10 lines 338 B
import { mkdirSync } from 'fs'; import { join } from 'path'; import { homedir } from 'os'; export function getDbPath() { const configDir = join(homedir(), '.lorehub'); // Ensure config directory exists mkdirSync(configDir, { recursive: true }); return join(configDir, 'lorehub.db'); } //# sourceMappingURL=db-config.js.map