{"_rev":"3-7bc14ae8ff24e6eaaf37055f67adb303","time":{"created":"2023-12-21T13:57:28.528Z","0.0.1":"2023-12-21T13:45:35.894Z","modified":"2023-12-21T13:57:29.089Z","0.0.2":"2023-12-21T13:57:28.807Z"},"_id":"@codask/xml2json","name":"@codask/xml2json","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@codask/xml2json","description":"Converts xml to json and vice-versa","version":"0.0.2","type":"module","main":"lib/index.js","directories":{"lib":"lib"},"keywords":["xml","json","parser"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/tristan-greffe/node-xml2json.git"},"author":{"name":"Tristan Greffe contributors","url":"https://github.com/tristan-greffe"},"bugs":{"url":"https://github.com/tristan-greffe/node-xml2json/issues"},"scripts":{"test":"jest","coverage":"jest --coverage"},"devDependencies":{"@babel/core":"^7.23.6","@babel/preset-env":"^7.23.6","babel-jest":"^29.7.0","jest":"^29.7.0"},"dependencies":{"lodash":"^4.17.21","xmldom":"^0.6.0"},"_id":"@codask/xml2json@0.0.2","gitHead":"04cc0430854548b80164e0bdb0a9f10fb53fe6a8","homepage":"https://github.com/tristan-greffe/node-xml2json#readme","_nodeVersion":"16.14.2","_npmVersion":"10.2.4","dist":{"integrity":"sha512-ilmFVuFWyjklMhcManASi59X0BeCCWQqaj6hqfXzv+V3Fztkj5COu2KGk3ePCpoD9WhLti0xJFOzIzxMHlbYKg==","shasum":"219d345043fc02983b1e6a4c30d81d811a199f31","tarball":"https://registry.npmjs.org/@codask/xml2json/-/xml2json-0.0.2.tgz","fileCount":12,"unpackedSize":51252,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvnMD2LNNcDMBK6nt4Iltm334JEQ+DBWBch/7zRmA4lAiA+DLnvDGKga56pnrggsdh6TsR7S2icxMn5AWAfBbFatA=="}]},"_npmUser":{"name":"codask","email":"tristan.greffe@hotmail.com"},"maintainers":[{"name":"codask","email":"tristan.greffe@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml2json_0.0.2_1703167048644_0.34926617621032374"},"_hasShrinkwrap":false}},"maintainers":[{"name":"codask","email":"tristan.greffe@hotmail.com"}],"description":"Converts xml to json and vice-versa","homepage":"https://github.com/tristan-greffe/node-xml2json#readme","keywords":["xml","json","parser"],"repository":{"type":"git","url":"git+https://github.com/tristan-greffe/node-xml2json.git"},"author":{"name":"Tristan Greffe contributors","url":"https://github.com/tristan-greffe"},"bugs":{"url":"https://github.com/tristan-greffe/node-xml2json/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <h1>Simple XML2JSON Parser</h1>\n\n  ![Project Banner](./readme_assets/readme_banner.png)\n\n  <p>\n    <a href=\"https://codeclimate.com/github/tristan-greffe/node-xml2json/coverage\">\n      <img src=\"https://codeclimate.com/github/tristan-greffe/node-xml2json/badges/coverage.svg\" alt=\"coverage\" />\n    </a>\n    <a href=\"https://codeclimate.com/github/tristan-greffe/node-xml2json\">\n      <img src=\"https://codeclimate.com/github/tristan-greffe/node-xml2json/badges/gpa.svg\" alt=\"maintainability\" />\n    </a>\n    <a href=\"https://github.com/tristan-greffe/node-xml2json/stargazers\">\n      <img src=\"https://img.shields.io/github/stars/tristan-greffe/node-xml2json\" alt=\"stars\" />\n    </a>\n    <a href=\"https://github.com/tristan-greffe/node-xml2json/blob/master/LICENSE\">\n      <img src=\"https://img.shields.io/github/license/tristan-greffe/node-xml2json.svg\" alt=\"license\" />\n    </a>\n  </p>\n  <h4>\n    <a href=\"https://github.com/tristan-greffe/node-xml2json/issues/\">Report Bug</a>\n    <span> · </span>\n    <a href=\"https://github.com/tristan-greffe/node-xml2json/issues/\">Request Feature</a>\n  </h4>\n\n</div>\n\n## About the Project\n\n### Features\n\n1. Transforms data in XML format into JSON\n\n2. Convert JSON objects into XML documents\n\n### Tech Stack\n\n[![My Skills](https://skillicons.dev/icons?i=js,jest)](https://skillicons.dev)\n\n## Usage\n\n### Installation\n\n```sh\nnpm install @codask/xml2json --save\n```\n\nor\n\n```sh\nyarn add @codask/xml2json\n```\n\n### Example\n\n```sh\nimport { xml2json } from '@codask/xml2json'\n\nxmlToJson('<root><name>John Doe</name><age>30</age></root>')\n```\n\n```sh\nimport { json2xml } from '@codask/xml2json'\n\njson2xml({\n  \"root\": {\n    \"name\": \"John Doe\",\n    \"age\": 30\n  }\n})\n```\n\n## Contributing\n\nContributions are always welcome!\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf 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\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork it! 🤙\n\n2. Create your feature branch: `git checkout -b my-new-feature`\n\n3. Commit your changes: `git commit -m \"Add some feature\"`\n\n4. Push to the branch: `git push origin my-new-feature`\n\n5. Submit a pull request 👍\n\n## License\n\nThis project is licensed under the MIT License - see the [license file](./LICENSE) for details","readmeFilename":"README.md"}