Simple patcher working
This commit is contained in:
6
src/templater/util.ts
Normal file
6
src/templater/util.ts
Normal 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;
|
||||
};
|
Reference in New Issue
Block a user