{"_id":"isomorphic-xml2js","_rev":"2955772","name":"isomorphic-xml2js","description":"XML parsing for browser and node.js","dist-tags":{"latest":"0.1.3"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"time":{"modified":"2023-04-27T04:01:48.000Z","created":"2018-05-02T23:26:00.488Z","0.1.3":"2018-06-06T20:01:48.242Z","0.1.2":"2018-05-22T16:35:19.928Z","0.1.1":"2018-05-22T16:08:04.691Z","0.1.0":"2018-05-20T22:49:41.050Z","0.0.3":"2018-05-02T23:41:43.743Z","0.0.2":"2018-05-02T23:34:01.534Z","0.0.1":"2018-05-02T23:26:00.488Z"},"users":{},"author":{"name":"Rikki Gibson"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"versions":{"0.1.3":{"name":"isomorphic-xml2js","version":"0.1.3","description":"XML parsing for browser and node.js","main":"index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc -p tsconfig.es5.json","build:browser":"webpack","prepare":"npm run build","test":"ts-node .scripts/chrome-unit"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/diff":"^3.5.1","@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","coffee-loader":"^0.9.0","coffeescript":"^2.3.0","diff":"^3.5.0","es6-promise":"^4.2.4","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","raw-loader":"^0.5.1","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"@types/xml2js":"^0.4.2","xml2js":"^0.4.19"},"gitHead":"db67776c5237c0719af17c4e724fc44551b991e7","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.1.3","_npmVersion":"6.0.0","_nodeVersion":"9.10.1","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"d7fd2b30a28b1f39658e4754cc51bb156856f374","size":8816,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.1.3.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.1.3_1528315308139_0.9937855124513513"},"_hasShrinkwrap":false,"publish_time":1528315308242,"_cnpm_publish_time":1528315308242,"_cnpmcore_publish_time":"2021-12-16T21:03:19.001Z"},"0.1.2":{"name":"isomorphic-xml2js","version":"0.1.2","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"ts-node .scripts/chrome-unit"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/diff":"^3.5.1","@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","coffee-loader":"^0.9.0","coffeescript":"^2.3.0","diff":"^3.5.0","es6-promise":"^4.2.4","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","raw-loader":"^0.5.1","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19","@types/xml2js":"^0.4.2"},"gitHead":"47e4475ae9dc0146708672c3ae5152ccfd53b3a9","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.1.2","_npmVersion":"6.0.0","_nodeVersion":"9.10.1","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"fba3ff5dbc93e692fa0abeb751609ff38d64966c","size":8228,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.1.2.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.1.2_1527006919869_0.7675637519769563"},"_hasShrinkwrap":false,"publish_time":1527006919928,"_cnpm_publish_time":1527006919928,"_cnpmcore_publish_time":"2021-12-16T21:03:19.733Z"},"0.1.1":{"name":"isomorphic-xml2js","version":"0.1.1","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"ts-node .scripts/chrome-unit"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/diff":"^3.5.1","@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","coffee-loader":"^0.9.0","coffeescript":"^2.3.0","diff":"^3.5.0","es6-promise":"^4.2.4","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","raw-loader":"^0.5.1","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19","@types/xml2js":"^0.4.2"},"gitHead":"8d38320acb392c3daea68f3497425c3ff1c52452","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.1.1","_npmVersion":"6.0.0","_nodeVersion":"9.10.1","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"d70e13f6f1938bc5b657889beedc4faa850920fc","size":156300,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.1.1.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.1.1_1527005284580_0.15381435675914767"},"_hasShrinkwrap":false,"publish_time":1527005284691,"_cnpm_publish_time":1527005284691,"_cnpmcore_publish_time":"2021-12-16T21:03:19.504Z"},"0.1.0":{"name":"isomorphic-xml2js","version":"0.1.0","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"run-p -r test:server test:chrome-unit","test:server":"ts-node testserver","test:chrome-unit":"sleep 2 && mocha-chrome http://localhost:3004"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/diff":"^3.5.1","@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","coffee-loader":"^0.9.0","coffeescript":"^2.3.0","diff":"^3.5.0","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","raw-loader":"^0.5.1","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19","@types/xml2js":"^0.4.2"},"gitHead":"a418d4de5d09afb81385a21f8765edcfa6c4c565","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.1.0","_npmVersion":"6.0.0","_nodeVersion":"9.10.1","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"71549f66ba2e2a65d601a1cbb0128f03cb990fdf","size":156262,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.1.0.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.1.0_1526856580919_0.5305659329245787"},"_hasShrinkwrap":false,"publish_time":1526856581050,"_cnpm_publish_time":1526856581050,"_cnpmcore_publish_time":"2021-12-16T21:03:20.688Z"},"0.0.3":{"name":"isomorphic-xml2js","version":"0.0.3","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"run-p -r test:server test:chrome-unit","test:server":"ts-node testserver","test:chrome-unit":"mocha-chrome http://localhost:3004"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19","@types/xml2js":"^0.4.2"},"gitHead":"760952e236ab7bf6522dec18f648ecdc76a46f00","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.0.3","_npmVersion":"6.0.0","_nodeVersion":"9.9.0","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"522287ed51f8bea657afaf37c9494e23bdef53e9","size":4561,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.0.3.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.0.3_1525304503675_0.21700949609732456"},"_hasShrinkwrap":false,"publish_time":1525304503743,"_cnpm_publish_time":1525304503743,"_cnpmcore_publish_time":"2021-12-16T21:03:20.901Z"},"0.0.2":{"name":"isomorphic-xml2js","version":"0.0.2","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"run-p -r test:server test:chrome-unit","test:server":"ts-node testserver","test:chrome-unit":"mocha-chrome http://localhost:3004"},"repository":{"type":"git","url":"git+https://github.com/RikkiGibson/isomorphic-xml2js.git"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19","@types/xml2js":"^0.4.2"},"gitHead":"4ad6783597db72f57306d29268288113bc9c6ae5","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","_id":"isomorphic-xml2js@0.0.2","_npmVersion":"6.0.0","_nodeVersion":"9.9.0","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"7eace6ddb90eecb37a0c1583cc658cc3e8a38de8","size":4573,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.0.2.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.0.2_1525304041436_0.6297923463995991"},"_hasShrinkwrap":false,"publish_time":1525304041534,"_cnpm_publish_time":1525304041534,"_cnpmcore_publish_time":"2021-12-16T21:03:21.142Z"},"0.0.1":{"name":"isomorphic-xml2js","version":"0.0.1","description":"XML parsing for browser and node.js","main":"dist/lib/index.js","browser":"dist/lib/browser.js","types":"typings/lib/index.js","scripts":{"build":"run-p build:nodejs build:browser","build:nodejs":"tsc","build:browser":"webpack","prepare":"npm run build","test":"run-p -r test:server test:chrome-unit","test:server":"ts-node testserver","test:chrome-unit":"mocha-chrome http://localhost:3004"},"repository":{"type":"git","url":"https://www.github.com/RikkiGibson/isomorphic-xml2js"},"keywords":["xml","parser","browser","server","isomorphic"],"author":{"name":"Rikki Gibson"},"license":"MIT","devDependencies":{"@types/express":"^4.11.1","@types/glob":"^5.0.35","@types/mocha":"^5.2.0","@types/node":"^10.0.2","@types/webpack":"^4.1.4","@types/webpack-dev-middleware":"^2.0.1","@types/xml2js":"^0.4.2","express":"^4.16.3","glob":"^7.1.2","mocha":"^5.1.1","mocha-chrome":"^1.1.0","npm-run-all":"^4.1.2","ts-loader":"^4.2.0","ts-node":"^6.0.2","typescript":"^2.8.3","webpack":"^4.6.0","webpack-cli":"^2.1.2","webpack-dev-middleware":"^3.1.3"},"dependencies":{"xml2js":"^0.4.19"},"gitHead":"4235078312964893644fe997ef60a00cc2da0bfb","_id":"isomorphic-xml2js@0.0.1","_npmVersion":"6.0.0","_nodeVersion":"9.9.0","_npmUser":{"name":"rikkigibson","email":"rikkigibson@gmail.com"},"dist":{"shasum":"6e4ac5032196ecfe919fc5a4401639426354330d","size":4574,"noattachment":false,"key":"/isomorphic-xml2js/-/isomorphic-xml2js-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/isomorphic-xml2js/download/isomorphic-xml2js-0.0.1.tgz"},"maintainers":[{"name":"rikkigibson","email":"rikkigibson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/isomorphic-xml2js_0.0.1_1525303560333_0.1394641747823162"},"_hasShrinkwrap":false,"publish_time":1525303560488,"_cnpm_publish_time":1525303560488,"_cnpmcore_publish_time":"2021-12-16T21:03:21.328Z"}},"readme":"# isomorphic-xml2js\n\n```sh\nnpm install --save isomorphic-xml2js\n```\n\nA drop-in replacement for [xml2js](https://www.npmjs.com/package/xml2js) that uses the built in DOMParser/XMLSerializer when bundled for the browser, drastically reducing the bundle size (~129k for node-xml2js, currently ~6k for isomorphic-xml2js). Simply exports xml2js when used in a node.js environment.\n\nThe goal is to support as much of the xml2js API as reasonably possible. Some features may be dropped if they are found to be unreasonably difficult to implement or if they excessively increase the bundle size or reduce performance.\n\n## Limitations\n\n- `strict: false` has no effect. Parsing malformed XML documents is unsupported.\n- `async: true` has no effect. Parsing is always synchronous, even though the API is callback-based to match node-xml2js.\n- `options.renderOpts` is ignored and XML documents are not pretty printed.\n  - XSLTProcessor's `<xslt:output indent=\"yes\" />` attribute is [not supported in Firefox](https://developer.mozilla.org/en-US/docs/Web/XSLT/output), Edge or IE and so doesn't seem portable enough to be worth it. Non-built-in methods of pretty printing XML may be too much of an increase in bundle size for a feature that's usually only useful at development time.\n- `validator` is not implemented.\n- CDATA can be parsed but it is converted to character entities when building.\n- Whitespace-only CDATA is not preserved when the default `includeWhiteChars: false` is specified, even though such CDATA is preserved in node-xml2js.\n- Calling a constructor without `new` may give a runtime error depending on the ES target level in your bundler config.\n- `addListener` and `on` methods on `xml2js.Parser` are not supported.\n","_attachments":{},"homepage":"https://github.com/RikkiGibson/isomorphic-xml2js#readme","bugs":{"url":"https://github.com/RikkiGibson/isomorphic-xml2js/issues"},"license":"MIT"}