- Download the repository to your local machine.
- Open the repo in your favorite IDE or open a CLI within the repo root.
- Run npm install
- Run any of the below commands to try the example files or use your own file path.
Note: Currently validation is not run against the output. So if you pass it a json file to parse to toml for example if you had duplicate keys is the JSON it would provide you a TOML representation of the data however duplicates keys are not valid in TOML meaning the output is not valid TOML. I have plans to add input validation in the future.
- Example:
node index.js xmlify_json --path "./examples/json/xml.json"
- Example:
node index.js jsonify_xml --path "./examples/xml/b2b.xml"
- Example:
node index.js yamlify_json --path "./examples/json/xml.json"
- Example:
node index.js tomlify_json --path "./examples/json/xml.json"
- Example:
node index.js htmlify_markdown --path "./examples/markdown/example.md"