{"_id":"koa-xml-body","_rev":"15-b5571d60ea848edd727601e5a5a0b301","name":"koa-xml-body","description":"koa middleware to parse xml request body","dist-tags":{"latest":"3.0.0","next":"2.0.0"},"versions":{"1.0.0":{"name":"koa-xml-body","version":"1.0.0","description":"koa middleware to parse xml request body","main":"index.js","scripts":{"prepublish":"npm run build","lint":"eslint tools lib test","build":"BABEL_ENV=development node --eval \"require('babel-register');require('babel-polyfill');require('./tools/build.js').default().catch(console.log.bind(console))\"","test":"BABEL_ENV=restricted ./node_modules/.bin/mocha --compilers js:babel-register --reporter spec --harmony"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.1.5","xml2js":"^0.4.15"},"devDependencies":{"babel-core":"^6.3.26","babel-eslint":"^4.1.6","babel-loader":"^6.2.0","babel-plugin-check-es2015-constants":"^6.3.13","babel-plugin-transform-es2015-arrow-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoped-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoping":"^6.3.13","babel-plugin-transform-es2015-classes":"^6.3.15","babel-plugin-transform-es2015-computed-properties":"^6.3.13","babel-plugin-transform-es2015-destructuring":"^6.3.15","babel-plugin-transform-es2015-for-of":"^6.3.13","babel-plugin-transform-es2015-function-name":"^6.3.21","babel-plugin-transform-es2015-literals":"^6.3.13","babel-plugin-transform-es2015-modules-commonjs":"^6.3.16","babel-plugin-transform-es2015-object-super":"^6.3.13","babel-plugin-transform-es2015-parameters":"^6.3.26","babel-plugin-transform-es2015-shorthand-properties":"^6.3.13","babel-plugin-transform-es2015-spread":"^6.3.14","babel-plugin-transform-es2015-sticky-regex":"^6.3.13","babel-plugin-transform-es2015-template-literals":"^6.3.13","babel-plugin-transform-es2015-typeof-symbol":"^6.3.13","babel-plugin-transform-es2015-unicode-regex":"^6.3.13","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","babel-register":"^6.3.13","eslint":"^1.10.3","eslint-plugin-babel":"^3.0.0","iconv-lite":"^0.4.13","koa":"^1.1.2","mocha":"^2.3.4","should":"^8.0.2","supertest":"^1.1.0","webpack":"^1.12.9"},"gitHead":"01aec8ce245968376162de8806986f12b5ad7dc0","_id":"koa-xml-body@1.0.0","_shasum":"b6c18d72494687374ece3b8bd86730f9a29f8b9b","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"b6c18d72494687374ece3b8bd86730f9a29f8b9b","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-1.0.0.tgz","integrity":"sha512-rBmIp61BXS6Pwp8clEmggBMnaGOgJEx0x1cgluxxAmdeDFkKyqYa7FJwfeMmrKaqrtJd6n5osTTYt2Ah/CdmqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMkvuvjIuLHY2X9l2wZP7qxX+05BNJ8uz2TlsyrqMUnQIgdYbPqL716GmRBp1TDVyj3IOaK2Pu7rGnWxbNfsyPac4="}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"directories":{}},"1.0.1":{"name":"koa-xml-body","version":"1.0.1","description":"koa middleware to parse xml request body","main":"index.js","scripts":{"prepublish":"npm run build","lint":"eslint tools lib test","build":"BABEL_ENV=development node --eval \"require('babel-register');require('babel-polyfill');require('./tools/build.js').default().catch(console.log.bind(console))\"","test":"BABEL_ENV=restricted ./node_modules/.bin/mocha --compilers js:babel-register --reporter spec --harmony"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.1.5","xml2js":"^0.4.15"},"devDependencies":{"babel-core":"^6.3.26","babel-eslint":"^4.1.6","babel-loader":"^6.2.0","babel-plugin-check-es2015-constants":"^6.3.13","babel-plugin-transform-es2015-arrow-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoped-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoping":"^6.3.13","babel-plugin-transform-es2015-classes":"^6.3.15","babel-plugin-transform-es2015-computed-properties":"^6.3.13","babel-plugin-transform-es2015-destructuring":"^6.3.15","babel-plugin-transform-es2015-for-of":"^6.3.13","babel-plugin-transform-es2015-function-name":"^6.3.21","babel-plugin-transform-es2015-literals":"^6.3.13","babel-plugin-transform-es2015-modules-commonjs":"^6.3.16","babel-plugin-transform-es2015-object-super":"^6.3.13","babel-plugin-transform-es2015-parameters":"^6.3.26","babel-plugin-transform-es2015-shorthand-properties":"^6.3.13","babel-plugin-transform-es2015-spread":"^6.3.14","babel-plugin-transform-es2015-sticky-regex":"^6.3.13","babel-plugin-transform-es2015-template-literals":"^6.3.13","babel-plugin-transform-es2015-typeof-symbol":"^6.3.13","babel-plugin-transform-es2015-unicode-regex":"^6.3.13","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","babel-register":"^6.3.13","eslint":"^1.10.3","eslint-plugin-babel":"^3.0.0","iconv-lite":"^0.4.13","koa":"^1.1.2","mocha":"^2.3.4","should":"^8.0.2","supertest":"^1.1.0","webpack":"^1.12.9"},"gitHead":"a95df96683513ff34884899ae13ddcd56abc4ace","_id":"koa-xml-body@1.0.1","_shasum":"9e19017609563aa18d8a8592b6b2f206ea2fb51c","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"9e19017609563aa18d8a8592b6b2f206ea2fb51c","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-1.0.1.tgz","integrity":"sha512-etEgx79GhSuYXDkaX42OfI5uJ5SwPd2i6efYSBDynGYoHDD1ABgIEyjIPWjbw1VPE8lBGtUJOPkCQx14sb2DYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRzvllBsfNButtYRQsTfuvD2yHjltleJF2kBFB6x7ljwIhAP6Dmqrl13T8mzjZrwWSsJgdhJL341APQkCsUyivpXeX"}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"directories":{}},"1.0.2":{"name":"koa-xml-body","version":"1.0.2","description":"koa middleware to parse xml request body","main":"index.js","scripts":{"prepublish":"npm run build","lint":"eslint tools lib test","build":"BABEL_ENV=development node --eval \"require('babel-register');require('babel-polyfill');require('./tools/build.js').default().catch(console.log.bind(console))\"","test":"BABEL_ENV=restricted ./node_modules/.bin/mocha --compilers js:babel-register --reporter spec --harmony"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.1.5","xml2js":"^0.4.15"},"devDependencies":{"babel-core":"^6.3.26","babel-eslint":"^4.1.6","babel-loader":"^6.2.0","babel-plugin-check-es2015-constants":"^6.3.13","babel-plugin-transform-es2015-arrow-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoped-functions":"^6.3.13","babel-plugin-transform-es2015-block-scoping":"^6.3.13","babel-plugin-transform-es2015-classes":"^6.3.15","babel-plugin-transform-es2015-computed-properties":"^6.3.13","babel-plugin-transform-es2015-destructuring":"^6.3.15","babel-plugin-transform-es2015-for-of":"^6.3.13","babel-plugin-transform-es2015-function-name":"^6.3.21","babel-plugin-transform-es2015-literals":"^6.3.13","babel-plugin-transform-es2015-modules-commonjs":"^6.3.16","babel-plugin-transform-es2015-object-super":"^6.3.13","babel-plugin-transform-es2015-parameters":"^6.3.26","babel-plugin-transform-es2015-shorthand-properties":"^6.3.13","babel-plugin-transform-es2015-spread":"^6.3.14","babel-plugin-transform-es2015-sticky-regex":"^6.3.13","babel-plugin-transform-es2015-template-literals":"^6.3.13","babel-plugin-transform-es2015-typeof-symbol":"^6.3.13","babel-plugin-transform-es2015-unicode-regex":"^6.3.13","babel-polyfill":"^6.3.14","babel-preset-es2015":"^6.3.13","babel-preset-stage-0":"^6.3.13","babel-register":"^6.3.13","eslint":"^1.10.3","eslint-plugin-babel":"^3.0.0","iconv-lite":"^0.4.13","koa":"^1.1.2","mocha":"^2.3.4","should":"^8.0.2","supertest":"^1.1.0","webpack":"^1.12.9"},"gitHead":"d9fb37ffc66db03d8bf047d3024f2a625ff75cd4","_id":"koa-xml-body@1.0.2","_shasum":"e11d816d7160915686a1857b026fb2af6fcae3f6","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"e11d816d7160915686a1857b026fb2af6fcae3f6","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-1.0.2.tgz","integrity":"sha512-1tHifcD0RBjo+F3eFw8QkbGZInfaeTVhBVXCzfrSHFZWfVgWl/Jk3MjVMqa4vSlzpoWNjH2PK9LjJwLDCBIhjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEAnnQLccdutRH4OgCotQnmYZJKzJ+lAgQekAXGe7ZCQAiAekPRgQcJ48LOGAaH7ZXHCYrLugm9rpKHUHuEGleQr5A=="}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/koa-xml-body-1.0.2.tgz_1455118937558_0.014867693185806274"},"directories":{}},"1.0.3":{"name":"koa-xml-body","version":"1.0.3","description":"koa middleware to parse xml request body","main":"index.js","scripts":{"prepublish":"npm run build","lint":"eslint tools lib test","build":"BABEL_ENV=development babel-node --eval \"require('./tools/build.js').default().catch(console.log.bind(console))\"","pretest":"npm run build","test":"BABEL_ENV=restricted ./node_modules/.bin/mocha --compilers js:babel-register --reporter spec --harmony"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.1.5","xml2js":"^0.4.16"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^5.0.0","babel-loader":"^6.2.0","babel-plugin-check-es2015-constants":"^6.5.0","babel-plugin-transform-es2015-arrow-functions":"^6.5.0","babel-plugin-transform-es2015-block-scoped-functions":"^6.5.0","babel-plugin-transform-es2015-block-scoping":"^6.5.0","babel-plugin-transform-es2015-classes":"^6.5.0","babel-plugin-transform-es2015-computed-properties":"^6.5.0","babel-plugin-transform-es2015-destructuring":"^6.5.0","babel-plugin-transform-es2015-for-of":"^6.5.0","babel-plugin-transform-es2015-function-name":"^6.5.0","babel-plugin-transform-es2015-literals":"^6.5.0","babel-plugin-transform-es2015-modules-commonjs":"^6.5.0","babel-plugin-transform-es2015-object-super":"^6.5.0","babel-plugin-transform-es2015-parameters":"^6.5.0","babel-plugin-transform-es2015-shorthand-properties":"^6.5.0","babel-plugin-transform-es2015-spread":"^6.5.2","babel-plugin-transform-es2015-sticky-regex":"^6.5.0","babel-plugin-transform-es2015-template-literals":"^6.5.0","babel-plugin-transform-es2015-typeof-symbol":"^6.5.0","babel-plugin-transform-es2015-unicode-regex":"^6.5.0","babel-plugin-transform-runtime":"^6.5.2","babel-preset-es2015":"^6.5.0-1","babel-preset-stage-0":"^6.5.0-1","babel-register":"^6.5.2","babel-runtime":"^6.5.0","eslint":"^2.2.0","eslint-plugin-babel":"^3.1.0","iconv-lite":"^0.4.13","koa":"^1.1.2","mocha":"^2.4.5","should":"^8.2.2","supertest":"^1.2.0","webpack":"^1.12.14"},"gitHead":"ca35a49052616bd03afbb4ba12fa70740fcad99d","_id":"koa-xml-body@1.0.3","_shasum":"740273bbbb3df50adbde2144635ccf0fbd819e80","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"740273bbbb3df50adbde2144635ccf0fbd819e80","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-1.0.3.tgz","integrity":"sha512-bvGVMV5HuHc0++QfBuNqnQzr6n9JLeSppCAtqHCvq8Mq2k+2kKnf10QLiixYpAtPESPDm/oYdgs0pkDirLMSdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZG88nTaD7DpI+SUKUvTJbRxoXeCTmVU04NbpkkfNTwwIhAKFTxjpnaj4ObdLhQLKsyD+HZS8K+mgZS+iyoAMnhJmz"}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/koa-xml-body-1.0.3.tgz_1456330066915_0.01360500417649746"},"directories":{}},"1.1.0":{"name":"koa-xml-body","version":"1.1.0","description":"koa middleware to parse xml request body","main":"index.js","scripts":{"prepublish":"npm run build","lint":"eslint tools lib test","build":"BABEL_ENV=development babel-node --eval \"require('./tools/build.js').default().catch(console.log.bind(console))\"","pretest":"npm run build","test":"BABEL_ENV=restricted ./node_modules/.bin/mocha --compilers js:babel-register --reporter spec --harmony"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware","xml2js"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.1.5","xml2js":"^0.4.16"},"devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.2","babel-eslint":"^6.1.0","babel-loader":"^6.2.0","babel-plugin-check-es2015-constants":"^6.5.0","babel-plugin-transform-es2015-arrow-functions":"^6.5.0","babel-plugin-transform-es2015-block-scoped-functions":"^6.5.0","babel-plugin-transform-es2015-block-scoping":"^6.5.0","babel-plugin-transform-es2015-classes":"^6.5.0","babel-plugin-transform-es2015-computed-properties":"^6.5.0","babel-plugin-transform-es2015-destructuring":"^6.5.0","babel-plugin-transform-es2015-for-of":"^6.5.0","babel-plugin-transform-es2015-function-name":"^6.5.0","babel-plugin-transform-es2015-literals":"^6.5.0","babel-plugin-transform-es2015-modules-commonjs":"^6.5.0","babel-plugin-transform-es2015-object-super":"^6.5.0","babel-plugin-transform-es2015-parameters":"^6.5.0","babel-plugin-transform-es2015-shorthand-properties":"^6.5.0","babel-plugin-transform-es2015-spread":"^6.5.2","babel-plugin-transform-es2015-sticky-regex":"^6.5.0","babel-plugin-transform-es2015-template-literals":"^6.5.0","babel-plugin-transform-es2015-typeof-symbol":"^6.5.0","babel-plugin-transform-es2015-unicode-regex":"^6.5.0","babel-plugin-transform-runtime":"^6.5.2","babel-preset-es2015":"^6.5.0-1","babel-preset-stage-0":"^6.5.0-1","babel-register":"^6.5.2","babel-runtime":"^6.5.0","eslint":"^2.2.0","eslint-plugin-babel":"^3.1.0","iconv-lite":"^0.4.13","koa":"^1.1.2","mocha":"^2.4.5","should":"^8.2.2","supertest":"^1.2.0","webpack":"^1.12.14"},"gitHead":"f43bf149ae69d95fc5286d88184bf5fd5c85d817","_id":"koa-xml-body@1.1.0","_shasum":"425f436390e9f7bc9a47d177d8fcc4264f6213bf","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"425f436390e9f7bc9a47d177d8fcc4264f6213bf","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-1.1.0.tgz","integrity":"sha512-Ejs+sQti62rFVbmcSIsIh3/EtxCVdWcf/B5XVOovQo1bhkE2Z8fKX+mAbQik5Fh2klb3e9Qj5qDyxwDbGri/hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFibVJTy+oCytm8iFm5W4JhU5gSBsamqB3XIMJI1PsS+AiEAj0RZ39T+DH0H9E75H0yeCnGeIHNKQrrVorVGnx5qcHs="}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-xml-body-1.1.0.tgz_1484202786537_0.8570927856490016"},"directories":{}},"2.0.0":{"name":"koa-xml-body","version":"2.0.0","description":"koa middleware to parse xml request body","main":"lib/index.js","scripts":{"lint":"eslint lib test","test":"mocha --harmony test/*.js"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware","xml2js","xml parser"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.2.0","xml2js":"^0.4.17"},"devDependencies":{"eslint":"^3.15.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.1","eslint-plugin-standard":"^2.0.1","iconv-lite":"^0.4.15","koa":"^2.0.0-alpha.8","mocha":"^3.2.0","should":"^11.2.0","supertest":"^3.0.0"},"engines":{"node":">= 4"},"gitHead":"fa064b7a05f5465ef6e73fe0267b9e2f8809b5b8","_id":"koa-xml-body@2.0.0","_shasum":"5ad70b7881c7f2aa041cfd67f8524b521aa59fa6","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"shasum":"5ad70b7881c7f2aa041cfd67f8524b521aa59fa6","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-2.0.0.tgz","integrity":"sha512-68K6SwGV1l2jluSgtwCoSLnSg10D0cHmYpIaMYAWRHG0f1NeZB+gZOJwr4ERuhQhKrrUKTg6ATRdElT+s/S6WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyJne17mKQWYot+A7QDC9joLjk8YcjSfhWHef+ul6npQIhAMPTA/vsPQe79ljpLiH1Sp2EU73/cQa0WPjBThgM+/go"}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-xml-body-2.0.0.tgz_1487244783440_0.9339553383179009"},"directories":{}},"2.1.0":{"name":"koa-xml-body","version":"2.1.0","description":"koa middleware to parse xml request body","main":"lib/index.js","scripts":{"lint":"eslint lib test","test":"mocha --harmony test/*.js"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware","xml2js","xml parser"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.2.0","xml2js":"^0.4.17"},"devDependencies":{"eslint":"^3.15.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.1","eslint-plugin-standard":"^2.0.1","iconv-lite":"^0.4.15","koa":"^2.0.0-alpha.8","mocha":"^3.2.0","should":"^11.2.0","supertest":"^3.0.0"},"engines":{"node":">= 4"},"gitHead":"f80ae3e20a13f08d9fac524697567be73a40b95b","_id":"koa-xml-body@2.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"dist":{"integrity":"sha512-OA+QmT6g1Stlg8AmqcdvYbClF0oIf3jXQVqJxl3a2S6+Lvi65xsH/0ozdN8rnCAFwetysuMiNL0hB7pLpvFKEQ==","shasum":"16e04065c2c9baf4c693168495fd63fbdde79065","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-2.1.0.tgz","fileCount":10,"unpackedSize":15432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyzhPCRA9TVsSAnZWagAAVxIP/RaBHuEsL5L04jTZSiAo\nwJf5i+2WBBLq9CGxQUCD4GHmflVZ38h+ZzeviAVGZcAVfDQxcCBgSsopUgAb\nDZ8Xv9llVh6Yc+o+FRMaYYJyW3UDGkWbkgSJ51hZpTLALJvSYFPNRIYYJuwf\naUnoiSjIUzMLFg36K0tdHm5mKn0fhPRDrSYdIOBk7tILjtNtCB+xzaNRDDNR\nhNoLAzh2dfu2yNV3R9i1Q/wYe+Ta8J6ibsGCe9k9FivxPDpD3dC06RdMN9d6\nWmjEqkAOv39dKKP4gIA2wYbxYAGhGS+KOFZgOn0hZBKh4L199dwCMcWhF51L\nq1MCKh8BtpSL47xiatDFD0zrT/3q1LIfCGxmuCGE6O2gLbuG10yfu7AafinO\n9PufV0qSbkjhu2Bt7klcC977wFO3eF688QompZz5Qd9I30Vw+7JJpKEtN+Lu\njBQgzVoKzST+M3iOMgqpWdcWkmqVxWF67k1o4RQWxyy09NmUJZNGdcCIhazE\nWjXWXWsKxqXrZUTJ4rQDTCJMJj8gd2OAX3JBpO+OQNRsPBDUM03HaBKL6n5p\n0YCUgoD7XOUVLtVsoQ2oxWzYZcQUrZJ6yahmYIizqIJADB0oEV4OFFDk7727\n2tMHIQPlWXmfDs780z5ID51Na5KaQ3bPpaPx4Ec9u1JkIM/YR4VrCKJnRp4m\noWTd\r\n=OMdo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoirKyQJ8kyfwXDW/Fsw6lhqtNjuZGj3o+NB7aGjvw/AiEAkZT5CJ0Oh4yQA2Rr6Gzx8x26hDP9ikSx4FDOoBL7RqY="}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-xml-body_2.1.0_1540044878718_0.35514396031480655"},"_hasShrinkwrap":false},"2.2.0":{"name":"koa-xml-body","version":"2.2.0","description":"koa middleware to parse xml request body","main":"lib/index.js","scripts":{"lint":"eslint lib test","test":"mocha --harmony test/*.js"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware","xml2js","xml parser"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.4.1","xml2js":"^0.4.23"},"devDependencies":{"eslint":"^3.19.0","eslint-config-standard":"^6.2.1","eslint-plugin-promise":"^3.4.1","eslint-plugin-standard":"^2.0.1","iconv-lite":"^0.4.15","koa":"^2.13.0","mocha":"^3.5.0","should":"^11.2.0","supertest":"^3.4.2"},"engines":{"node":">= 4"},"gitHead":"816e167c8eb8689059dc7ba6fd63404831e778a7","_id":"koa-xml-body@2.2.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-5I9VyJHgCtXEZKtoeQAqQtIDQydCzMHUz7Sy1nZfnm0FGV6tkB+PeQtIz24icwpi8U67y6LquNuA/JR9f2WZpQ==","shasum":"593217d09e2fedcc1b34ce71c25df6571e833970","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-2.2.0.tgz","fileCount":9,"unpackedSize":16085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfA10XCRA9TVsSAnZWagAAOcMP/j4dI0YHpKJxl0C1D01j\nYD4auQOH/gxpe0KFGa8MeyABSqh79PLN1YWQoc1+AOTOrnQqaD+0TkO5H/St\nPVNSCxsLdkiH37kdn+Ha0WnDzR5mH72Vec0k+uQLGSKkcGWb53S2w1/ErtDr\n2/dXlJ0RPZ4Yswowqhar8TONaoUQVlI4CFMz0R4AYa11tBSm6Z7iK7EB5ejB\nAhj3W6U+v0bIRdi3Hvn8PWpfdQtzi+gyBhYHNmKCGBo675DgvMBBU9RHiZad\nmUFw2J2Sr8BzgPxrg3MvsSwglre4Hv+9hxUoWjsrkrjviumZ6G+Dw/PVaFCk\ns97yr3s6UFHqH1bIrymRoywAED3jkgR+2pmmM/AxIKZh96JHIDspERgVzgw2\ntseVCK7aFFCK/bB/+YBE+eec6yqpguK+bRpp1/9WBEvA4dT4tpe/xR25G6LJ\nOyd1jb+1BKx9okZBggKYBOc//iLulTedLoNkiZM2F5BHmME16MKMuqBcURpR\nzX7bORhm4mmr13b8LN3g9io4aojxyPKxXqNy0v8L8oto/BKaJs+Hbc6TxQBQ\nk+JYLQIlu+ViRDtf9FXDNjAYlZNdSR875ctX1aNnOg4Uzp8B6k7Ab8yPMIEF\ni88bYcYvMAtXaUUQUNdFHo1quxBR5mCRPq2OduXMtp2AXj77kAbBpwaYnVP1\nLtmk\r\n=fCAc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYUwzheSy7V9fMJIKAa9kX8hroBXS9pfWXMoX3ERvmkAiEA9g+5zt2benW862dEkcRqMQPlKXskq9DdAd4cK+S85aM="}]},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-xml-body_2.2.0_1594055958904_0.3121075259992361"},"_hasShrinkwrap":false},"3.0.0":{"name":"koa-xml-body","version":"3.0.0","description":"koa middleware to parse xml request body","main":"lib/index.js","scripts":{"lint":"eslint lib/ test/","test":"mocha --exit test/*.js"},"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"keywords":["xml","body","bodyParser","koa","middleware","xml2js","xml parser"],"author":{"name":"creeperyang"},"license":"MIT","bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","dependencies":{"raw-body":"^2.5.2","xml2js":"^0.6.0"},"devDependencies":{"eslint":"^8.42.0","iconv-lite":"^0.6.3","mocha":"^10.2.0","should":"^13.2.3","supertest":"^6.3.3"},"peerDependencies":{"koa":"^2"},"engines":{"node":">= 14.0"},"gitHead":"68f0100b2e5a52f715117e023bc6ff880e1d113d","_id":"koa-xml-body@3.0.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-yqXj7oSg0v36PWEnMMFQYVo01gIoBAHZjyxtjgQ+zD6Jv/ErRmE4mPjlTKYYT1uqaC/RbfvU6uJhYSxHZELg+A==","shasum":"5290bb54b676f8166691c281a4bd5c8cfd7d6c8d","tarball":"https://registry.npmjs.org/koa-xml-body/-/koa-xml-body-3.0.0.tgz","fileCount":9,"unpackedSize":17404,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHfIyymKovpIUGEY5N+RKzImJl225MoZAHDhLYn0O2qVAiEA1Ous0hlSKnVUbh89V1+IZ1JpidgSPiEyD9PVOqdgmgA="}]},"_npmUser":{"name":"creeper","email":"pashanhu6@hotmail.com"},"directories":{},"maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-xml-body_3.0.0_1686842127948_0.5814118700232478"},"_hasShrinkwrap":false}},"readme":"# koa-xml-body\n\n[![test](https://github.com/creeperyang/koa-xml-body/actions/workflows/ci.yml/badge.svg)](https://github.com/creeperyang/koa-xml-body/actions/workflows/ci.yml)\n[![npm version](https://badge.fury.io/js/koa-xml-body.svg)](https://badge.fury.io/js/koa-xml-body)\n[![download times](https://img.shields.io/npm/dm/koa-xml-body.svg)](https://www.npmjs.com/package/koa-xml-body)\n[![download times](https://img.shields.io/npm/dt/koa-xml-body.svg)](https://www.npmjs.com/package/koa-xml-body)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcreeperyang%2Fkoa-xml-body.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcreeperyang%2Fkoa-xml-body?ref=badge_shield)\n\n> Parse xml request body for Koa\n\n## Install\n\n[![NPM](https://nodei.co/npm/koa-xml-body.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/koa-xml-body/)\n\n## Usage\n\n```js\nconst koa = require('koa')\nconst xmlParser = require('koa-xml-body')\n\nconst app = koa()\napp.use(xmlParser())\n\napp.use(function(ctx, next) {\n    // the parsed body will store in this.request.body\n    // if nothing was parsed, body will be undefined\n    ctx.body = ctx.request.body\n    return next()\n})\n```\n\n`koa-xml-body` will carefully check and set `context.request.body`, so it can **intergate** well with other body parsers such as `koa-bodyparser`:\n\n```js\n// ...\nconst bodyParser = require('koa-bodyparser')\n\n// ...\napp.use(xmlParser())\napp.use(bodyParser())\n```\n\n**Note:**\n\n- For `koa@2.x`, use version `2.x` or `3.x`;\n- For `koa@1.x`, use `koa-xml-body@1.x`.\n\n## Options\n\n- **encoding**: requested encoding. Default is `utf8`. If not set, the lib will retrive it from `content-type`(such as `content-type:application/xml;charset=gb2312`).\n- **limit**: limit of the body. If the body ends up being larger than this limit, a 413 error code is returned. Default is `1mb`.\n- **length**: length of the body. When `content-length` is found, it will be overwritten automatically.\n- **onerror**: error handler. Default is a `None`. It means it will **throws** the error. You can config it to customize the response.\n- **xmlOptions**: options which will be used to parse xml. Default is `{}`. See [`xml2js Options`](https://github.com/Leonidas-from-XIV/node-xml2js#options) for details.\n- **key**: A chance to redefine what the property name to use instead of the default `body (ctx.request.body)`.\n\n```js\napp.use(xmlParser({\n    limit: 128,\n    encoding: 'utf8', // lib will detect it from `content-type`\n    xmlOptions: {\n        explicitArray: false\n    },\n    key: 'xmlBody', // lib will check ctx.request.xmlBody & set parsed data to it.\n    onerror: (err, ctx) => {\n        console.error(err);\n        ctx.throw(err.status, err.message);\n    }\n}))\n```\n\n## Licences\n\n[MIT](LICENSE)\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcreeperyang%2Fkoa-xml-body.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcreeperyang%2Fkoa-xml-body?ref=badge_large)","maintainers":[{"name":"creeper","email":"pashanhu6@hotmail.com"}],"time":{"modified":"2023-06-15T15:15:28.183Z","created":"2016-01-04T14:01:09.950Z","1.0.0":"2016-01-04T14:01:09.950Z","1.0.1":"2016-01-04T14:15:28.402Z","1.0.2":"2016-02-10T15:42:19.185Z","1.0.3":"2016-02-24T16:07:49.751Z","1.1.0":"2017-01-12T06:33:06.761Z","2.0.0":"2017-02-16T11:33:03.673Z","2.1.0":"2018-10-20T14:14:38.933Z","2.2.0":"2020-07-06T17:19:19.064Z","3.0.0":"2023-06-15T15:15:28.085Z"},"homepage":"https://github.com/creeperyang/koa-xml-body#readme","keywords":["xml","body","bodyParser","koa","middleware","xml2js","xml parser"],"repository":{"type":"git","url":"git+https://github.com/creeperyang/koa-xml-body.git"},"author":{"name":"creeperyang"},"bugs":{"url":"https://github.com/creeperyang/koa-xml-body/issues"},"license":"MIT","readmeFilename":"readme.md"}