configDir
configDir returns the user's platform-standard config directory (e.g. ~/.config on Linux).
Signature
configDir(): stringtyrus
import { configDir } from "tyrus:os";
const config: string = configDir();
print(`config: ${config}`);Never fails the program
Falls back to an empty string if it cannot be determined, rather than aborting the program.
