Add useful consts

This commit is contained in:
Oliver-Akins 2025-06-29 00:45:48 -06:00
parent 1707ad56db
commit 8386548f8b

9
module/consts.mjs Normal file
View file

@ -0,0 +1,9 @@
export const __ID__ = `taf`;
// MARK: filePath
export function filePath(path) {
if (path.startsWith(`/`)) {
path = path.slice(1);
};
return `systems/${__ID__}/${path}`;
};