9 lines
239 B
TypeScript
Raw Normal View History

2023-04-18 02:57:36 +03:00
function getThemeList() {
const fs = require("fs");
const json_file = fs.readFileSync("data/themes.json");
const json = JSON.parse(json_file);
const themes = json.themes;
2023-05-10 11:49:48 -06:00
return themes;
2023-04-18 02:57:36 +03:00
}
module.exports = getThemeList;