{"library":"xml-loader","type":"library","category":null,"description":"A webpack loader that converts XML files into JSON objects using node-xml2js. Current stable version is 1.2.1. It supports query-string options to configure the xml2js parser, such as explicitChildren, and can be used both inline and via webpack config. Maintained as a simple, focused loader for webpack 1-4; does not support webpack 5 by default. Alternatives include raw-loader or custom loaders for more modern webpack setups.","language":"javascript","status":"maintenance","version":"1.2.1","tags":["javascript","webpack","loader","xml"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install xml-loader","imports":["import data from 'xml-loader!./data.xml'","const data = require('xml-loader!./data.xml');","module.exports = { module: { rules: [ { test: /\\.xml$/, use: 'xml-loader' } ] } };","require('xml-loader?explicitChildren=true!./data.xml')"]},{"cmd":"yarn add xml-loader","imports":[]},{"cmd":"pnpm add xml-loader","imports":[]}],"homepage":null,"github":"https://github.com/gisikw/xml-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/xml-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}