nose-pluto/app/nose/bin/state.ts

6 lines
176 B
TypeScript

import { NOSE_DATA } from "@/config"
import { join } from "path"
export default async function () {
return JSON.parse(await Bun.file(join(NOSE_DATA, "state.json")).text())
}