{"_id":"xml-loader","_rev":"7-2c40cf037c4a4b6f1a060889ed57995b","name":"xml-loader","description":"A webpack module to load XML files.","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"xml-loader","version":"1.0.0","description":"A webpack module to load XML files.","main":"index.js","dependencies":{"xml2js":"^0.4.9"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/gisikw/xml-loader.git"},"keywords":["webpack","loader","xml"],"author":{"name":"Kevin Gisi","email":"kevin@kevingisi.com","url":"http://twitter.com/cheerskevin"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.html"}],"bugs":{"url":"https://github.com/gisikw/xml-loader/issues"},"gitHead":"d98b6fa1b13e8fa87aca92837ec22169362afd1c","homepage":"https://github.com/gisikw/xml-loader#readme","_id":"xml-loader@1.0.0","scripts":{},"_shasum":"b996b3e04f4d584defd711353e577df0801e49b4","_from":".","_npmVersion":"2.8.4","_nodeVersion":"0.12.2","_npmUser":{"name":"gisikw","email":"kevin@kevingisi.com"},"dist":{"shasum":"b996b3e04f4d584defd711353e577df0801e49b4","tarball":"https://registry.npmjs.org/xml-loader/-/xml-loader-1.0.0.tgz","integrity":"sha512-iS+6jlfuTGGPiuppdg1dvYuCnbVbNTWYikMcG+Tb8C4MOl3Nnc06SwbrPDEoUifFqxZGdIKrFcA7l6TPMmRfBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOEdEOp9GQC4QHQrgfw5ZQYfeVwVodBoWXQvzgzoiQogIhAJ7UugR7uQlOyy6LxhZrUSbShWmE6CsIw6oj0YXoGcxE"}]},"maintainers":[{"name":"gisikw","email":"kevin@kevingisi.com"}],"directories":{}},"1.1.0":{"name":"xml-loader","version":"1.1.0","description":"A webpack module to load XML files.","main":"index.js","dependencies":{"xml2js":"^0.4.16","loader-utils":"0.2.x"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/gisikw/xml-loader.git"},"keywords":["webpack","loader","xml"],"author":{"name":"Kevin Gisi","email":"kevin@kevingisi.com","url":"http://twitter.com/cheerskevin"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.html"}],"bugs":{"url":"https://github.com/gisikw/xml-loader/issues"},"gitHead":"1ca68468b5741070fdab4362ed0b5ae725422aaa","homepage":"https://github.com/gisikw/xml-loader#readme","_id":"xml-loader@1.1.0","scripts":{},"_shasum":"1f536148a3cc33f4f545d5df5a263a351e0e8051","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"gisikw","email":"kevin@kevingisi.com"},"dist":{"shasum":"1f536148a3cc33f4f545d5df5a263a351e0e8051","tarball":"https://registry.npmjs.org/xml-loader/-/xml-loader-1.1.0.tgz","integrity":"sha512-fvt5MMZYYkhYu93kSkVACNa0la1Gj+tM1AvH3gIOyY97ZeAxn4xDadXANVdsq2ACqwIVY1AD2Hz3odCT0MI0Gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/Kyf0pjZhQ/YTuc4hT6cni/XVVuOltzqGFpuCNbwf5QIgAeZfQ0KXY4+h3JXsRho0K5Zq9KUv/mAGGoVlZsa55DE="}]},"maintainers":[{"name":"gisikw","email":"kevin@kevingisi.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/xml-loader-1.1.0.tgz_1455115869759_0.2537149318959564"},"directories":{}},"1.2.0":{"name":"xml-loader","version":"1.2.0","description":"A webpack module to load XML files.","main":"index.js","dependencies":{"xml2js":"^0.4.16","loader-utils":"^1.0.0"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/gisikw/xml-loader.git"},"keywords":["webpack","loader","xml"],"author":{"name":"Kevin Gisi","email":"kevin@kevingisi.com","url":"http://twitter.com/cheerskevin"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.html"}],"bugs":{"url":"https://github.com/gisikw/xml-loader/issues"},"gitHead":"f86931b9e1fcf20ea4da219af2fa916f58c2b56d","homepage":"https://github.com/gisikw/xml-loader#readme","_id":"xml-loader@1.2.0","scripts":{},"_shasum":"182230f163ef86d4b5bf26bc62bf6e33ce9b17ef","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"gisikw","email":"kevin@kevingisi.com"},"dist":{"shasum":"182230f163ef86d4b5bf26bc62bf6e33ce9b17ef","tarball":"https://registry.npmjs.org/xml-loader/-/xml-loader-1.2.0.tgz","integrity":"sha512-RjGor/brRN/xn1M1Vaenb6m6JjR0lxJWl8SgPkM5lZ9l98On/mXVT4DX65xuE5cz7IZW8OocHzAox5Ysts0BFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaG0ysXrnoBAsL7m/Nd2fTSSKVDINGTeEseBMQ1l0Q/wIhAPO2mCUPOvj6khXl5PWgWf1aBpY48O+ILvK+VxcJl2yu"}]},"maintainers":[{"name":"gisikw","email":"kevin@kevingisi.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xml-loader-1.2.0.tgz_1489168765741_0.19689385895617306"},"directories":{}},"1.2.1":{"name":"xml-loader","version":"1.2.1","description":"A webpack module to load XML files.","main":"index.js","dependencies":{"xml2js":"^0.4.16","loader-utils":"^1.0.0"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/gisikw/xml-loader.git"},"keywords":["webpack","loader","xml"],"author":{"name":"Kevin Gisi","email":"kevin@kevingisi.com","url":"http://twitter.com/cheerskevin"},"licenses":[{"type":"MIT","url":"http://opensource.org/licenses/mit-license.html"}],"bugs":{"url":"https://github.com/gisikw/xml-loader/issues"},"gitHead":"8bcb92a9a101244e77bcda76a25204ad1820b921","homepage":"https://github.com/gisikw/xml-loader#readme","_id":"xml-loader@1.2.1","scripts":{},"_shasum":"03484da710c44d3610dd36c2af4094b35b4f7975","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"gisikw","email":"kevin@kevingisi.com"},"dist":{"shasum":"03484da710c44d3610dd36c2af4094b35b4f7975","tarball":"https://registry.npmjs.org/xml-loader/-/xml-loader-1.2.1.tgz","integrity":"sha512-3PYzgwxsRHDFawXZ2r//SuIJ77PksRnyRfV6Ke+3c5ArcJsZOrc+kFnzFO8iVu4mcXBkVTzIBotPyv1Y2ufGkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2L24sn1aQUIzUrRgN2GroSgCXyP/8Lbzzn8BsCtye6AiEA4O1R+yJUEFzd2u3oa1SxYZpGmWOZ11E/pGnFaymFRhw="}]},"maintainers":[{"name":"gisikw","email":"kevin@kevingisi.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-loader-1.2.1.tgz_1489416055617_0.643251104047522"},"directories":{}}},"readme":"# Webpack XML loader\n\nA Webpack plugin for loading XML files.\n\n## Installation\n\nInstall via npm:\n\n```\nnpm install --save xml-loader\n```\n\n## Usage\n\nYou can require XML data like this:\n\n``` javascript\nvar data = require('xml!./data.xml');\n// => returns data.xml content as json-parsed object\n\nvar data = require('xml?explicitChildren=true!./data.xml');\n// => returns data.xml content as json-parsed object and put child elements to separate properties\n```\n\nThe loader will translate the ```data.xml``` file into a JSON Object. [node-xml2js processors](https://github.com/Leonidas-from-XIV/node-xml2js#options) are supported via query syntax.\n\n#### Usage with webpack.config\n\nTo require XML files like this: ```require('data.xml')``` , you can add the xml-loader to your webpack config:\n\n``` javascript\nmodule : {\n  loaders : [\n    { test: /\\.xml$/, loader: 'xml-loader' } // will load all .xml files with xml-loader by default\n  ]\n}\n```\n\n## Credits\n\n* Inspired by webpack's [dsv-loader](https://github.com/wbkd/dsv-loader)\n* XML parsing done with [node-xml2js](https://github.com/Leonidas-from-XIV/node-xml2js)\n","maintainers":[{"name":"gisikw","email":"kevin@kevingisi.com"}],"time":{"modified":"2022-06-29T05:36:20.003Z","created":"2015-05-31T09:09:13.458Z","1.0.0":"2015-05-31T09:09:13.458Z","1.1.0":"2016-02-10T14:51:11.417Z","1.2.0":"2017-03-10T17:59:26.328Z","1.2.1":"2017-03-13T14:40:57.459Z"},"homepage":"https://github.com/gisikw/xml-loader#readme","keywords":["webpack","loader","xml"],"repository":{"type":"git","url":"git+https://github.com/gisikw/xml-loader.git"},"author":{"name":"Kevin Gisi","email":"kevin@kevingisi.com","url":"http://twitter.com/cheerskevin"},"bugs":{"url":"https://github.com/gisikw/xml-loader/issues"},"readmeFilename":"README.md","users":{"endsoul":true}}