mirror of
https://github.com/asphyxia-core/plugins.git
synced 2026-03-21 17:34:46 -05:00
12 lines
335 B
TypeScript
12 lines
335 B
TypeScript
import { processMdbData,readJSONOrXML } from './helper';
|
|
|
|
export async function processData() {
|
|
const { music } = await readJSONOrXML("./data/mdb_one_plus_half.json", "./data/mdb_one_plus_half.xml")
|
|
return {
|
|
music
|
|
};
|
|
}
|
|
|
|
export async function processRawData() {
|
|
return await processMdbData("./data/mdb_one_plus_half.xml");
|
|
} |