about summary refs log tree commit diff stats
path: root/src/config.ts
blob: 8fbe3c1ab2f65840a40c9b3d05ca960f0aeb8f5d (plain)
1
2
3
4
5
6
7
import path from "node:path";
import fs from "node:fs";
import toml from "toml";

export default function readConfig() {
  return toml.parse(fs.readFileSync("config.toml", "utf-8"));
}