@codask/xml2json
v0.0.2
Published
Converts xml to json and vice-versa
Downloads
31
Readme

About the Project
Features
Transforms data in XML format into JSON
Convert JSON objects into XML documents
Tech Stack
Usage
Installation
npm install @codask/xml2json --saveor
yarn add @codask/xml2jsonExample
import { xml2json } from '@codask/xml2json'
xmlToJson('<root><name>John Doe</name><age>30</age></root>')import { json2xml } from '@codask/xml2json'
json2xml({
"root": {
"name": "John Doe",
"age": 30
}
})Contributing
Contributions are always welcome!
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Fork it! 🤙
Create your feature branch:
git checkout -b my-new-featureCommit your changes:
git commit -m "Add some feature"Push to the branch:
git push origin my-new-featureSubmit a pull request 👍
License
This project is licensed under the MIT License - see the license file for details
