{"_id":"express-xml-parser","_rev":"20-9329d46b6132854ed78e42db32d1fd86","name":"express-xml-parser","description":"express middleware to parse xml body using type-is, raw-body, xml2js","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.2":{"name":"express-xml-parser","version":"0.0.2","description":"express middleware to parse xml data","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/idy/express-xml-parser"},"keywords":["express","middleware","xml","body-parser"],"author":{"name":"idy0013@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/idy/express-xml-parser/issues"},"homepage":"https://github.com/idy/express-xml-parser","dependencies":{"xml2js":"~0.4.2","raw-body":"~1.1.5","type-is":"~1.2.0"},"devDependencies":{"mocha":"~1.18.2"},"_id":"express-xml-parser@0.0.2","dist":{"shasum":"34bc9b4a0138f718541290cc761a624575a72048","tarball":"https://registry.npmjs.org/express-xml-parser/-/express-xml-parser-0.0.2.tgz","integrity":"sha512-49d/fTxBOBRpifvtqqInjugso5v+yV4ETJGo1U1YFFX0GAbGIE48htXi8028533vRvOHTTymSdF5eH4LC3j6vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKw26w8zvFvVr3eyRqbeUuxCJgTJn+yYzEBbl74K12SAiEApzy7h5eWZoq1IWA/bXCbaC3q4VgYZqdXQI/+Pfve6R4="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"idy","email":"idy0013@gmail.com"},"maintainers":[{"name":"idy","email":"idy0013@gmail.com"}]},"0.0.3":{"name":"express-xml-parser","version":"0.0.3","description":"express middleware to parse xml data","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/idy/express-xml-parser"},"keywords":["express","middleware","xml","body-parser"],"author":{"name":"idy0013@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/idy/express-xml-parser/issues"},"homepage":"https://github.com/idy/express-xml-parser","dependencies":{"xml2js":"~0.4.2","raw-body":"~1.1.5","type-is":"~1.2.0"},"devDependencies":{"mocha":"~1.18.2"},"_id":"express-xml-parser@0.0.3","dist":{"shasum":"505a4e083431600897fd4c00e719eb3f473abbd8","tarball":"https://registry.npmjs.org/express-xml-parser/-/express-xml-parser-0.0.3.tgz","integrity":"sha512-t1czDnFO62KBvIQYXUktTXwiCXf3S1VUFrUD5VZZ/MyqTQV7XfmcbObzxPPWK7+C2oNrE2CYUZeMKLQ0oRs76w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGmYcMtF/90TEOmH84M7xvwr0f4Gr2u6YMhi5TQ2dzFcAiBdhh/ftXVGZ0cHl/rQRpl4otDC7mMaRBl0gkNY3X69bg=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"idy","email":"idy0013@gmail.com"},"maintainers":[{"name":"idy","email":"idy0013@gmail.com"}]},"0.1.0":{"name":"express-xml-parser","version":"0.1.0","description":"express middleware to parse xml body using type-is, raw-body, xml2js","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/idy/express-xml-parser"},"keywords":["express","middleware","xml","body-parser"],"author":{"name":"idy0013@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/idy/express-xml-parser/issues"},"homepage":"https://github.com/idy/express-xml-parser","dependencies":{"xml2js":"~0.4.2","raw-body":"~1.1.5","type-is":"~1.2.0"},"devDependencies":{"mocha":"~1.18.2"},"_id":"express-xml-parser@0.1.0","dist":{"shasum":"b2f6bc26f635e4e529d846475d12b3fac950fa94","tarball":"https://registry.npmjs.org/express-xml-parser/-/express-xml-parser-0.1.0.tgz","integrity":"sha512-O+HS5P0xx86XmvWJ8WulnjiY/XovsjykUwIhr1Wp37LoHoGf1DETXM5deGnO4CSRsbdZxnA/N6mxKBmjVoqR4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHXME0ggwexgdFrEkvQmRiNE5ewPDy+nV5YtbMELOuEAiBwqtmlEPm/R1FCx38QF77wP9KwD+kmmbmAEAUo8VEphQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"idy","email":"idy0013@gmail.com"},"maintainers":[{"name":"idy","email":"idy0013@gmail.com"}]},"1.0.0":{"name":"express-xml-parser","version":"1.0.0","description":"express middleware to parse xml body using type-is, raw-body, xml2js","main":"index.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/idy/express-xml-parser"},"keywords":["express","middleware","xml","body-parser"],"author":{"name":"idy0013@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/idy/express-xml-parser/issues"},"homepage":"https://github.com/idy/express-xml-parser","dependencies":{"xml2js":"~0.4.2","raw-body":"~1.1.5","type-is":"~1.2.0"},"devDependencies":{"mocha":"~1.18.2"},"_id":"express-xml-parser@1.0.0","dist":{"shasum":"92817ed10abb423c44809627181d72f2567c4a34","tarball":"https://registry.npmjs.org/express-xml-parser/-/express-xml-parser-1.0.0.tgz","integrity":"sha512-QofhO73Q6cqm7dnsI3efhXBQLyq0MDjfVfPOt/4m+ahad5Fle/l/fZr87dC2DLg4yxuHpGDHkx/tOVYKy7o/yQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnLo5x//4E9QvF8RonIgsGHyaRqKGAvZ2/HxYDbZLA2QIhAOhOlmmMqz9C8KiMQCIaI3nzdfwPJi4UOzNi6bCrnf16"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"idy","email":"idy0013@gmail.com"},"maintainers":[{"name":"idy","email":"idy0013@gmail.com"}]}},"readme":"# express-xml-parser\n\n  [![NPM version](https://badge.fury.io/js/express-xml-parser.png)](http://badge.fury.io/js/express-xml-parser) [![Build Status](https://travis-ci.org/idy/express-xml-parser.svg?branch=master)](https://travis-ci.org/idy/express-xml-parser)\n\n- use `type-is` to check whether a xml request\n- use `raw-body` to get decoded text body from request\n- and `xml2js` to parse to json\n\n### Usage\n===\n```javascript\nvar options = {\n  // options will apply to is-type\n  type: ['xml'],    //default [ 'xml' ]\n\n  // options will apply to raw-body\n  limit: '1mb',     //default 100kb,\n  encoding: 'utf8'  //default utf8,\n\n  // options will apply to xml2js\n  trim: false\n};\napp.use(xmlBodyParser(options));\napp.post('/xml', function(req, res) {\n  // req.body is a xml-json\n});\n```\n","maintainers":[{"name":"idy","email":"idy0013@gmail.com"}],"time":{"modified":"2022-06-17T22:46:09.353Z","created":"2014-05-18T02:17:49.342Z","0.0.2":"2014-05-18T02:17:52.210Z","0.0.3":"2014-05-18T02:31:54.650Z","0.1.0":"2014-05-18T13:43:08.150Z","1.0.0":"2014-05-18T14:16:52.879Z"},"readmeFilename":"README.md","homepage":"https://github.com/idy/express-xml-parser","keywords":["express","middleware","xml","body-parser"],"repository":{"type":"git","url":"https://github.com/idy/express-xml-parser"},"author":{"name":"idy0013@gmail.com"},"bugs":{"url":"https://github.com/idy/express-xml-parser/issues"},"license":"MIT","users":{"snowdream":true,"post72":true}}