mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +00:00
12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
import { parse as parseToml } from "jsr:@std/toml";
|
|
import * as path from "jsr:@std/path";
|
|
|
|
export const BASE_PATH = path.dirname(path.fromFileUrl(import.meta.url));
|
|
|
|
export default parseToml(
|
|
Deno.readTextFileSync(path.join(BASE_PATH, "consts.toml")),
|
|
) as {
|
|
name: string;
|
|
api_url: string;
|
|
version: string;
|
|
};
|