{"_id":"xml-formatter","_rev":"2783819","name":"xml-formatter","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","dist-tags":{"latest":"2.6.1"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"time":{"modified":"2022-06-13T06:10:33.000Z","created":"2016-11-10T22:02:02.794Z","2.6.1":"2022-02-03T19:57:37.802Z","2.6.0":"2021-12-21T16:46:08.005Z","2.5.1":"2021-10-20T18:45:29.530Z","2.5.0":"2021-10-14T17:00:42.677Z","2.4.1":"2021-09-13T12:42:32.591Z","2.4.0":"2020-11-10T09:13:18.946Z","2.3.1":"2020-10-19T17:14:44.982Z","2.3.0":"2020-09-26T08:03:02.951Z","2.2.0":"2020-09-23T09:52:47.629Z","2.1.3":"2020-07-24T07:24:05.452Z","2.1.2":"2020-06-30T10:40:30.339Z","2.1.1":"2020-06-27T16:50:53.808Z","2.1.0":"2020-05-29T19:02:14.404Z","2.0.1":"2020-04-24T11:17:24.160Z","2.0.0":"2020-04-18T11:00:52.994Z","1.2.1":"2020-04-12T10:14:29.804Z","1.2.0":"2019-10-08T09:08:13.326Z","1.1.0":"2019-02-25T17:22:46.794Z","1.0.1":"2016-11-16T10:36:33.908Z","1.0.0":"2016-11-14T22:25:39.126Z","0.0.2":"2016-11-10T22:02:59.886Z","0.0.1":"2016-11-10T22:02:02.794Z"},"users":{},"author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"versions":{"2.6.1":{"name":"xml-formatter","version":"2.6.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"npm run dist:build:require && npm run dist:build:singleton","dist:build:require":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js","dist:build:singleton":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter-singleton.js -s xmlFormatter"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.2.0"},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","babelify":"^10.0.0","browserify":"^13.1.1","chai":"^4.3.4","eslint":"^6.8.0","glob":"^7.1.7","mocha":"^6.2.1"},"gitHead":"9d6c5699bcd1b71ca9c2c2d9517e2be54c539318","_id":"xml-formatter@2.6.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"066ef3a100bd58ee3b943f0c503be63176d3d497","size":6402,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.6.1.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.6.1_1643918257655_0.6741762403208986"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-03T19:57:43.774Z","publish_time":1643918257802,"_cnpm_publish_time":1643918257802},"2.6.0":{"name":"xml-formatter","version":"2.6.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"npm run dist:build:require && npm run dist:build:singleton","dist:build:require":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js","dist:build:singleton":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter-singleton.js -s xmlFormatter"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.2.0"},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","babelify":"^10.0.0","browserify":"^13.1.1","chai":"^4.3.4","eslint":"^6.8.0","glob":"^7.1.7","mocha":"^6.2.1"},"gitHead":"b555773ddcb58fb0b2b42e7d3e8e9c8c0f2e55fa","_id":"xml-formatter@2.6.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"502cf34889584baae0d9580632dc0cbc73de5b49","size":6379,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.6.0.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.6.0_1640105167844_0.7117328142412773"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T16:46:16.604Z","publish_time":1640105168005,"_cnpm_publish_time":1640105168005},"2.5.1":{"name":"xml-formatter","version":"2.5.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"npm run dist:build:require && npm run dist:build:singleton","dist:build:require":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js","dist:build:singleton":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter-singleton.js -s xmlFormatter"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.2"},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","babelify":"^10.0.0","browserify":"^13.1.1","chai":"^4.3.4","eslint":"^6.8.0","glob":"^7.1.7","mocha":"^6.2.1"},"gitHead":"265ecad5d81775608dc30693a0d443f5e63863ea","_id":"xml-formatter@2.5.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"5f0625c815558fed15aab64547ea08bf7e9197ae","size":6383,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.5.1.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.5.1_1634755529398_0.08773034333603813"},"_hasShrinkwrap":false,"publish_time":1634755529530,"_cnpm_publish_time":1634755529530,"_cnpmcore_publish_time":"2021-12-16T23:47:00.635Z"},"2.5.0":{"name":"xml-formatter","version":"2.5.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"npm run dist:build:require && npm run dist:build:singleton","dist:build:require":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js","dist:build:singleton":"browserify -g [ babelify --presets [ @babel/preset-env ] ] -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter-singleton.js -s xmlFormatter"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.2"},"devDependencies":{"@babel/core":"^7.15.8","@babel/preset-env":"^7.15.8","babelify":"^10.0.0","browserify":"^13.1.1","chai":"^4.3.4","eslint":"^6.8.0","glob":"^7.1.7","mocha":"^6.2.1"},"gitHead":"afff1eaba8bcb766cb9e6024b51e7c77c6fb88d6","_id":"xml-formatter@2.5.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"ebe52306b10d565ac54330a09d646030588bab58","size":5839,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.5.0.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.5.0_1634230842453_0.9199816037023407"},"_hasShrinkwrap":false,"publish_time":1634230842677,"_cnpm_publish_time":1634230842677,"_cnpmcore_publish_time":"2021-12-16T23:47:00.841Z"},"2.4.1":{"name":"xml-formatter","version":"2.4.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.2"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.3.4","eslint":"^6.8.0","glob":"^7.1.7","mocha":"^6.2.1"},"gitHead":"5c7c75f21a07a4f3944b5e7fdaa3f4d4a582a004","_id":"xml-formatter@2.4.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"20cd625ac2a1b330759ac64dc86a9de901ad2a0d","size":4998,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.4.1.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.4.1_1631536952487_0.09744520889001351"},"_hasShrinkwrap":false,"publish_time":1631536952591,"_cnpm_publish_time":1631536952591,"_cnpmcore_publish_time":"2021-12-16T23:47:01.054Z"},"2.4.0":{"name":"xml-formatter","version":"2.4.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"72f547a25838c5066ae1c8ea3723338335ee367e","_id":"xml-formatter@2.4.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"c956ea6c5345240c0829da86a5e81d44ed4cb9c7","size":4995,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.4.0.tgz"},"directories":{},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.4.0_1604999598841_0.5611308147430139"},"_hasShrinkwrap":false,"publish_time":1604999598946,"_cnpm_publish_time":1604999598946,"_cnpmcore_publish_time":"2021-12-16T23:47:01.254Z"},"2.3.1":{"name":"xml-formatter","version":"2.3.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"6ea9973bd9e972fcff0c46820f20c846f25116f9","_id":"xml-formatter@2.3.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"79201637dad4fe4b2e58fbd6bf1524ac830ea505","size":4967,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.3.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.3.1_1603127684855_0.34833068836680936"},"_hasShrinkwrap":false,"publish_time":1603127684982,"_cnpm_publish_time":1603127684982,"_cnpmcore_publish_time":"2021-12-16T23:47:01.495Z"},"2.3.0":{"name":"xml-formatter","version":"2.3.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"9c216ef47fa6a4aa51a100b7f242294504a3e701","_id":"xml-formatter@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"99c2c33fb6c63691763e8aeb5ddf7205a9df7f16","size":4862,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.3.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.3.0_1601107382698_0.7706788614362889"},"_hasShrinkwrap":false,"publish_time":1601107382951,"_cnpm_publish_time":1601107382951,"_cnpmcore_publish_time":"2021-12-16T23:47:01.745Z"},"2.2.0":{"name":"xml-formatter","version":"2.2.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.1.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"aa933701554c1477f625a4f024bdaa74005dbda0","_id":"xml-formatter@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"6a57322dd6575aac3af9452b23d4fa3da56b9c45","size":4835,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.2.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.2.0_1600854767490_0.2542818115576637"},"_hasShrinkwrap":false,"publish_time":1600854767629,"_cnpm_publish_time":1600854767629,"_cnpmcore_publish_time":"2021-12-16T23:47:01.972Z"},"2.1.3":{"name":"xml-formatter","version":"2.1.3","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"fc9c34ddfb0e3dd98459e4f85e40846e170b62b5","_id":"xml-formatter@2.1.3","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"f4274c46fb90fa868d46fe3a3cf7d1c5161bee4c","size":23612,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.1.3.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.1.3_1595575445328_0.7974103177547791"},"_hasShrinkwrap":false,"publish_time":1595575445452,"_cnpm_publish_time":1595575445452,"_cnpmcore_publish_time":"2021-12-16T23:47:02.202Z"},"2.1.2":{"name":"xml-formatter","version":"2.1.2","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"61ec38c6ceb627e39107a15c5a9da9543f3b5f37","_id":"xml-formatter@2.1.2","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"2567afc255455a14f0483159d59dd0582575c104","size":23612,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.1.2.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.1.2_1593513630204_0.13913677943059577"},"_hasShrinkwrap":false,"publish_time":1593513630339,"_cnpm_publish_time":1593513630339,"_cnpmcore_publish_time":"2021-12-16T23:47:02.428Z"},"2.1.1":{"name":"xml-formatter","version":"2.1.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"bc1fa09cfa41993c109d35f7f94cd99428f00e6d","_id":"xml-formatter@2.1.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"6a58d65957c46d76fa9846205440bb7d1f8ae395","size":23607,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.1.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.1.1_1593276653625_0.3540925976641387"},"_hasShrinkwrap":false,"publish_time":1593276653808,"_cnpm_publish_time":1593276653808,"_cnpmcore_publish_time":"2021-12-16T23:47:02.661Z"},"2.1.0":{"name":"xml-formatter","version":"2.1.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"071c1682350d06c78d87c8ad25be2d3125f1ace7","_id":"xml-formatter@2.1.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"ff438be6e2195e480b7525ecd3b06652ed76f390","size":23502,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.1.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.1.0_1590778934213_0.5093404515911668"},"_hasShrinkwrap":false,"publish_time":1590778934404,"_cnpm_publish_time":1590778934404,"_cnpmcore_publish_time":"2021-12-16T23:47:02.875Z"},"2.0.1":{"name":"xml-formatter","version":"2.0.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"d985d2d14f1690d6499c43d71fd8dfd3958e24d6","_id":"xml-formatter@2.0.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"9bc6be09c99ff5259e61dde2dacee5d2a37a9fe1","size":23294,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.0.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.0.1_1587727044018_0.5648164932973705"},"_hasShrinkwrap":false,"publish_time":1587727044160,"_cnpm_publish_time":1587727044160,"_cnpmcore_publish_time":"2021-12-16T23:47:03.078Z"},"2.0.0":{"name":"xml-formatter","version":"2.0.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","description":"Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute","author":{"name":"Chris Bottin","email":"chrisbottin@gmail.com"},"license":"MIT","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"eslint . && npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty","print","pretty-print","indent","parser","formatter","xml:space","preserve"],"dependencies":{"xml-parser-xo":"^3.0.0"},"devDependencies":{"browserify":"^13.1.1","chai":"^4.2.0","eslint":"^6.8.0","glob":"^7.1.6","mocha":"^6.2.1"},"gitHead":"7fb5a8cfe7409354dca2b2c4f2fbc1aebd3df4a4","_id":"xml-formatter@2.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"60daaa550eefe1667aa54b7b98307fbb62d48500","size":23260,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-2.0.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_2.0.0_1587207652789_0.5802212033661696"},"_hasShrinkwrap":false,"publish_time":1587207652994,"_cnpm_publish_time":1587207652994,"_cnpmcore_publish_time":"2021-12-16T23:47:03.315Z"},"1.2.1":{"name":"xml-formatter","version":"1.2.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"description":"Converts XML into a human readable format (pretty print) while respecting the xml:space attribute","main":"index.js","scripts":{"test":"mocha","prepublishOnly":"npm test && npm run dist:prepare && npm run dist:build","dist:prepare":"rm -rf ./dist && mkdir -p ./dist/browser","dist:build":"browserify -r ./index.js:xml-formatter -o ./dist/browser/xml-formatter.js"},"engines":{"node":">= 10"},"keywords":["xml","pretty-print","indent","parser","formatter","xml:space","preserve"],"author":{"name":"Chris Bottin"},"license":"MIT","dependencies":{"xml-parser-xo":"^2.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^3.5.0","gulp":"^4.0.2","mocha":"^6.2.1","stream-assert":"^2.0.3"},"browser":{"util":false},"gitHead":"7108ccae79671187d720532041761d9c8e44027b","bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","_id":"xml-formatter@1.2.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"64177b767ca54572ce511dc325cde7a359028bbe","size":11007,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-1.2.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_1.2.1_1586686469680_0.7649682885394027"},"_hasShrinkwrap":false,"publish_time":1586686469804,"_cnpm_publish_time":1586686469804,"_cnpmcore_publish_time":"2021-12-16T23:47:03.557Z"},"1.2.0":{"name":"xml-formatter","version":"1.2.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"description":"Converts XML into a human readable format (pretty print) while respecting the xml:space attribute","main":"index.js","scripts":{"test":"mocha","browserify":"browserify -r ./index.js:xml-formatter -o ./browser/xml-formatter.js"},"keywords":["xml","pretty-print","indent","parser","formatter","xml:space","preserve"],"author":{"name":"Chris Bottin"},"license":"MIT","dependencies":{"xml-parser-xo":"^2.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^3.5.0","gulp":"^3.9.1","mocha":"^6.2.1","stream-assert":"^2.0.3"},"browser":{"util":false},"gitHead":"e10cce86e53682cca578e5c0cf2176239a27b566","bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","_id":"xml-formatter@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"cfbf2fd7250b5b77fcb484d9df4adf7ab30b3b2d","size":10231,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-1.2.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_1.2.0_1570525693154_0.009139558504630552"},"_hasShrinkwrap":false,"publish_time":1570525693326,"_cnpm_publish_time":1570525693326,"_cnpmcore_publish_time":"2021-12-16T23:47:03.743Z"},"1.1.0":{"name":"xml-formatter","version":"1.1.0","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"description":"Converts XML into a human readable format (pretty print) while respecting the xml:space attribute","main":"index.js","scripts":{"test":"mocha","browserify":"browserify -r ./index.js:xml-formatter -o ./browser/xml-formatter.js"},"keywords":["xml","pretty-print","indent","parser","formatter","xml:space","preserve"],"author":{"name":"Chris Bottin"},"license":"MIT","dependencies":{"xml-parser-xo":"^2.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.2.5","should":"^6.0.3","stream-assert":"^2.0.3"},"browser":{"util":false},"gitHead":"f9d930b5a26a907ca76197ac11d70f216f18805f","bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","_id":"xml-formatter@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.14.1","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"0c9174a7101bb0ef7d7b2b09448282844990a4ef","size":7801,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-1.1.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xml-formatter_1.1.0_1551115366672_0.11702550587155391"},"_hasShrinkwrap":false,"publish_time":1551115366794,"_cnpm_publish_time":1551115366794,"_cnpmcore_publish_time":"2021-12-16T23:47:03.942Z"},"1.0.1":{"name":"xml-formatter","version":"1.0.1","repository":{"type":"git","url":"git+https://github.com/chrisbottin/xml-formatter.git"},"description":"Converts XML into a human readable format (pretty print) while respecting the xml:space attribute","main":"index.js","scripts":{"test":"mocha","browserify":"browserify -r ./index.js:xml-formatter -o ./browser/xml-formatter.js"},"keywords":["xml","pretty-print","indent","parser","formatter","xml:space","preserve"],"author":{"name":"Chris Bottin"},"license":"MIT","dependencies":{"xml-parser-xo":"^2.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.2.5","should":"^6.0.3","stream-assert":"^2.0.3"},"browser":{"util":false},"gitHead":"399f8794914613cf1eae471d6925f7a615665787","bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","_id":"xml-formatter@1.0.1","_shasum":"380833ddd0bcea2c0986defebba71f84384f353d","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"380833ddd0bcea2c0986defebba71f84384f353d","size":14140,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-1.0.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-formatter-1.0.1.tgz_1479292591784_0.2590108073782176"},"directories":{},"publish_time":1479292593908,"_hasShrinkwrap":false,"_cnpm_publish_time":1479292593908,"_cnpmcore_publish_time":"2021-12-16T23:47:04.179Z"},"1.0.0":{"name":"xml-formatter","version":"1.0.0","description":"Converts XML into a human readable format (pretty print) while respecting the xml:space attribute","main":"index.js","scripts":{"test":"mocha","browserify":"browserify -r ./index.js:xml-formatter -o ./browser/xml-formatter.js"},"keywords":["xml","pretty-print","indent","parser","formatter","xml:space","preserve"],"author":{"name":"Chris Bottin"},"license":"MIT","dependencies":{"xml-parser-xo":"^2.1.1"},"devDependencies":{"browserify":"^13.1.1","chai":"^3.5.0","gulp":"^3.9.1","mocha":"^2.2.5","should":"^6.0.3","stream-assert":"^2.0.3"},"browser":{"util":false},"gitHead":"759ac9d443b7c1debe6bfe854e00d9ee75d65417","_id":"xml-formatter@1.0.0","_shasum":"8947a2e15a4318af2a61f82c66a791fa702c6869","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"8947a2e15a4318af2a61f82c66a791fa702c6869","size":13588,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-1.0.0.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/xml-formatter-1.0.0.tgz_1479162336979_0.7190002631396055"},"directories":{},"publish_time":1479162339126,"_hasShrinkwrap":false,"_cnpm_publish_time":1479162339126,"_cnpmcore_publish_time":"2021-12-16T23:47:04.376Z"},"0.0.2":{"name":"xml-formatter","version":"0.0.2","description":"Converts XML into a human readable format (pretty print) while respecting xml:space attribute.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","pretty-print","indent","formatter"],"author":{"name":"Chris Bottin"},"license":"MIT","_id":"xml-formatter@0.0.2","_shasum":"9bbab652d2834e932d8d8b756ac9126f7f8c288b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"9bbab652d2834e932d8d8b756ac9126f7f8c288b","size":6191,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-0.0.2.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xml-formatter-0.0.2.tgz_1478815379332_0.48207758320495486"},"directories":{},"publish_time":1478815379886,"_hasShrinkwrap":false,"_cnpm_publish_time":1478815379886,"_cnpmcore_publish_time":"2021-12-16T23:47:04.594Z"},"0.0.1":{"name":"xml-formatter","version":"0.0.1","description":"Converts XML into a human readable format (pretty print) while respecting xml:space attribute.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["xml","pretty-print","indent","formatter"],"author":{"name":"Chris Bottin"},"license":"ISC","_id":"xml-formatter@0.0.1","_shasum":"5076221ef9abefea58d155f87df84d91b08c828e","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"chrisbottin","email":"chrisbottin@gmail.com"},"dist":{"shasum":"5076221ef9abefea58d155f87df84d91b08c828e","size":6171,"noattachment":false,"key":"/xml-formatter/-/xml-formatter-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/xml-formatter/download/xml-formatter-0.0.1.tgz"},"maintainers":[{"name":"chrisbottin","email":"chrisbottin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/xml-formatter-0.0.1.tgz_1478815322232_0.7770627567078918"},"directories":{},"publish_time":1478815322794,"_hasShrinkwrap":false,"_cnpm_publish_time":1478815322794,"_cnpmcore_publish_time":"2021-12-16T23:47:04.768Z"}},"readme":"\n# xml-formatter\n\nConverts XML into a human readable format (pretty print) while respecting the xml:space attribute.\n\nThis module can also be used on the browser using the browserified version with a small footprint (8KB file size).\n\n[![Build Status](https://github.com/chrisbottin/xml-formatter/actions/workflows/ci.yml/badge.svg)](https://github.com/chrisbottin/xml-formatter/actions/workflows/ci.yml)\n\n[![NPM](https://nodei.co/npm/xml-formatter.png?downloads=true)](https://nodei.co/npm/xml-formatter/)\n\n## Installation\n\n```\n$ npm install xml-formatter\n```\n\n## Example\n\n JavaScript:\n\n```js\nvar format = require('xml-formatter');\nvar xml = '<root><content><p xml:space=\"preserve\">This is <b>some</b> content.</content></p>';\n\nvar formattedXml = format(xml);\nconsole.log(formattedXml);\n```\n\nOutput:\n\n```xml\n<root>\n    <content>\n        <p xml:space=\"preserve\">This is <b>some</b> content.</p>\n    </content>\n</root>\n```\n\n## Options\n\n JavaScript:\n \n```js\nvar format = require('xml-formatter');\nvar xml = '<root><!-- content --><content><p>This is <b>some</b> content.</content></p>';\n\nvar formattedXml = format(xml, {\n    indentation: '  ', \n    filter: (node) => node.type !== 'Comment', \n    collapseContent: true, \n    lineSeparator: '\\n'\n});\n\nconsole.log(formattedXml);\n```\n\nOutput:\n\n```xml\n<root>\n  <content>\n    <p>This is <b>some</b> content.</p>\n  </content>\n</root>\n```\n\n- `filter` (function(node)) Function to filter out unwanted nodes by returning false.\n- `indentation` (String, default=`'    '`) The value used for indentation.\n- `collapseContent` (Boolean, default=`false`] True to keep content in the same line as the element. Only works if element contains at least one text node\n- `lineSeparator` (String, default=`\\r\\n`) Specify the line separator to use\n- `whiteSpaceAtEndOfSelfclosingTag` (Boolean, default=false) to either end ad self closing tag with `<tag/>` or `<tag />`\n\n\n## On The Browser\n\nThe code is transpiled using [Babel](https://babeljs.io/) with [@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env) default values and bundled using [browserify](https://browserify.org/).\n\n### Using `require('xml-formatter')`\n Page:\n \n```html\n<script type=\"text/javascript\" src=\"dist/browser/xml-formatter.js\"></script>\n```\n\n Usage:\n \n```js\nvar xmlFormatter = require('xml-formatter');\nvar xml = '<root><content><p xml:space=\"preserve\">This is <b>some</b> content.</content></p>';\n\nvar formattedXml = xmlFormatter(xml);\nconsole.log(formattedXml);\n```\n\n### Using global function `xmlFormatter`\n\n```html\n<script type=\"text/javascript\" src=\"dist/browser/xml-formatter-singleton.js\"></script>\n```\n\nUsage:\n\n```js\nvar xml = '<root><content><p xml:space=\"preserve\">This is <b>some</b> content.</content></p>';\n\nvar formattedXml = xmlFormatter(xml);\nconsole.log(formattedXml);\n```\n\n### Output\n\n```xml\n<root>\n    <content>\n        <p xml:space=\"preserve\">This is <b>some</b> content.</p>\n    </content>\n</root>\n```\n\n# License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/chrisbottin/xml-formatter#readme","bugs":{"url":"https://github.com/chrisbottin/xml-formatter/issues"},"license":"MIT"}