Simple patcher working

This commit is contained in:
Dolan Miu
2023-02-18 20:36:24 +00:00
parent 86de252a52
commit 5233b4b5e6
6 changed files with 121 additions and 32 deletions

6
src/templater/util.ts Normal file
View File

@ -0,0 +1,6 @@
import { xml2js, Element } from "xml-js";
export const toJson = (xmlData: string): Element => {
const xmlObj = xml2js(xmlData, { compact: false }) as Element;
return xmlObj;
};