import { promises as fs } from "node:fs";
import YAML from "yaml";
export async function readYamlFile(filePath) {
    const raw = await fs.readFile(filePath, "utf8");
    return YAML.parse(raw);
}
export function parseYaml(raw) {
    return YAML.parse(raw);
}
export function stringifyYaml(value) {
    return YAML.stringify(value);
}
