{"_id":"xml-json","_rev":"13-ec1efce0d451942d8073f03610437494","name":"xml-json","description":"convert xml to json on the command line, streaming and pure JS. extracts all matched xml elements by node name and stream them out at line delimited JSON","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"xml-json","version":"1.0.0","bin":{"xml-json":"cli.js"},"description":"convert xml to json on the command line. not streaming, pure javascript","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"max ogden"},"license":"BSD","dependencies":{"concat-stream":"^1.4.6","xml2js":"^0.4.4"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/maxogden/xml-json.git"},"bugs":{"url":"https://github.com/maxogden/xml-json/issues"},"homepage":"https://github.com/maxogden/xml-json","gitHead":"55c273aa7495e33384f71da7e2efe4d88bc39407","_id":"xml-json@1.0.0","_shasum":"a7a546f463444da30979b8457b6c9b5a916355bb","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"a7a546f463444da30979b8457b6c9b5a916355bb","tarball":"https://registry.npmjs.org/xml-json/-/xml-json-1.0.0.tgz","integrity":"sha512-heoUpwDXgHbmQyttxI6lfIszb/A7v/P3aO1zq5ubGpHsV/GBNAJtnxCVaneK8aUxwMr9IssqS1y/h9b71gkfaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGrXAWavoX+Wu0WoCX1foluzMPQyJyjXJJgWX1hDsSV/AiEA6Rj7xCRTGhAIbpajGmVEWiXxZ5A8lrU8VBjqtk8qvuM="}]}},"2.0.0":{"name":"xml-json","version":"2.0.0","bin":{"xml-json":"cli.js"},"description":"convert xml to json on the command line, streaming and pure JS. extracts all matched xml elements by node name and stream them out at line delimited JSON","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"max ogden"},"license":"BSD","dependencies":{"extend":"^1.3.0","ldjson-stream":"^1.1.0","minimist":"^0.2.0","pumpify":"^1.2.1","xml-nodes":"^0.1.2","xml-objects":"0.0.1"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/maxogden/xml-json.git"},"bugs":{"url":"https://github.com/maxogden/xml-json/issues"},"homepage":"https://github.com/maxogden/xml-json","_id":"xml-json@2.0.0","_shasum":"3a758c10b26591e2e3465ed5ea0837c34edaf730","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"3a758c10b26591e2e3465ed5ea0837c34edaf730","tarball":"https://registry.npmjs.org/xml-json/-/xml-json-2.0.0.tgz","integrity":"sha512-oX9z+ttw6NlaUNlQV8bzgwy9q+FB15VF/Tqmg5u4v2Ic3nU4LS/iaFIBCArFIO62I5Jn11XjiKXCl01jDIaRrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEYJvvhX1ABszDcfcnsm3xx9RVtkcMMUgjNQw1HK9QaWAiAFD+qM4U3pAgvE3e/A8r2bk9j43U7h5j/iDsFDOs1oCQ=="}]}},"2.0.2":{"name":"xml-json","version":"2.0.2","bin":{"xml-json":"cli.js"},"description":"convert xml to json on the command line, streaming and pure JS. extracts all matched xml elements by node name and stream them out at line delimited JSON","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"max ogden"},"license":"BSD","dependencies":{"extend":"^1.3.0","ldjson-stream":"^1.1.0","minimist":"^0.2.0","pumpify":"^1.2.1","xml-nodes":"^0.1.2","xml-objects":"0.0.1"},"devDependencies":{},"repository":{"type":"git","url":"https://github.com/maxogden/xml-json.git"},"bugs":{"url":"https://github.com/maxogden/xml-json/issues"},"homepage":"https://github.com/maxogden/xml-json","_id":"xml-json@2.0.2","_shasum":"0bc7e47eb72e8431fbd33dd7a85142090f3f2c17","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"maxogden","email":"max@maxogden.com"},"maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"dist":{"shasum":"0bc7e47eb72e8431fbd33dd7a85142090f3f2c17","tarball":"https://registry.npmjs.org/xml-json/-/xml-json-2.0.2.tgz","integrity":"sha512-XJgMZjuFFCvF2Q6YSIOP21I+j96GfyX41A8tOiHjsOoSK6oEZmDkc6SwMj6xHkbXRxD6tAcExVsOSSHCOs7LZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJD07y0WfL+RKm71R38m5pfKkyWNWyo+P2ZW6stvIcQAiBv2KanSr7EhvOC1ZapBVSp34IUbI1JKvaqvHdoW+B3QA=="}]}}},"readme":"# xml-json\n\nconvert xml to json on the command line, streaming and pure JS. extracts all matched xml elements by node name and stream them out at line delimited JSON. can only match one node name at a time.\n\n[![NPM](https://nodei.co/npm/xml-json.png?global=true)](https://nodei.co/npm/xml-json/)\n\n## usage\n\nyou must specify both a input stream and a xml node filter. conversion of all input xml is not supported at this time. all nodes that match your filter node name will be returned one at a time as JSON.\n\n```\nnpm install xml-json -g\nxml-json <file> <xml node name>\n```\n\nor `cat something.xml | xml-json <xml node name>`\n\n## examples\n\n```BASH\ncurl \"http://news.yahoo.com/rss/entertainment\" | xml-json item\n```\n\n```BASH\nxml-json data.xml entry\n```\n","maintainers":[{"name":"maxogden","email":"max@maxogden.com"}],"time":{"modified":"2022-06-29T05:35:57.988Z","created":"2014-06-28T23:50:25.430Z","1.0.0":"2014-06-28T23:50:25.430Z","2.0.0":"2014-08-05T22:19:55.154Z","2.0.2":"2014-08-05T22:24:37.518Z"},"homepage":"https://github.com/maxogden/xml-json","repository":{"type":"git","url":"https://github.com/maxogden/xml-json.git"},"author":{"name":"max ogden"},"bugs":{"url":"https://github.com/maxogden/xml-json/issues"},"license":"BSD","readmeFilename":"readme.md","users":{"finnpauls":true,"paul-byford":true,"majgis":true}}