1.0.3 • Published 4 years ago
xml-fpl-plugin v1.0.3
xml-fpl-plugin
a plugin to add .xml() method that parses the file and convert to js
Usage
import { File, addPlugin } from "fs-pro-light";
import xml from "xml-fpl-plugin";
// or
const { default: xml } = require("xml-fpl-plugin");
addPlugin(xml);
new File(__dirname, "some.xml").xml({ compact: true });
Options
this package parses xml via the xml-js package so all of it's options is available
Licence
copyright (c) AliBasicCoder 2020