{"_id":"@cvrg-report/cobertura-json","_rev":"4-95222c0534845b25112fd8aa4039cecb","name":"@cvrg-report/cobertura-json","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.1":{"name":"@cvrg-report/cobertura-json","version":"0.1.1","description":"Parse cobertura coverage to JSON, using the same format as lcov-parse","main":"src/index.js","scripts":{"test":"mocha --reporter spec","testcover":"istanbul cover node_modules/mocha/bin/_mocha -- -R spec","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/cvrg-report/cobertura-json.git"},"author":{"name":"TobiLG"},"license":"MIT","bugs":{"url":"https://github.com/cvrg-report/cobertura-json/issues"},"homepage":"https://github.com/cvrg-report/cobertura-json","devDependencies":{"istanbul":"^0.4.5","mocha":"^5.0.1","publish-please":"^2.3.1"},"dependencies":{"xml2js":"^0.4.19"},"gitHead":"b8b070ca2d4bd0d3b316525f38b0c8df568bef72","_id":"@cvrg-report/cobertura-json@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"tobilg","email":"tobilg@gmail.com"},"dist":{"integrity":"sha512-uZEb7pGp+oW7DhwZ+NzyNbNjJmLhwNHqS3Sm/PyLKZyhj63QWtL+sXCO8nux6lYSHzrtPfcDD4P+sVyyZz64Ow==","shasum":"36b809c1cc8c9be9e43ad42f83cbe06b677d1173","tarball":"https://registry.npmjs.org/@cvrg-report/cobertura-json/-/cobertura-json-0.1.1.tgz","fileCount":9,"unpackedSize":26851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpLWNQjnShjU0Ms/IevYkCQMXv40fuYRwEWc9ncoRcJgIgfL0+z1M7XzzD8bK3WLHadnA8dyxoa94jZTuY1uF3rDY="}]},"maintainers":[{"name":"tobilg","email":"tobilg@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cobertura-json_0.1.1_1519653962056_0.716708071813329"},"_hasShrinkwrap":false},"0.1.2":{"name":"@cvrg-report/cobertura-json","version":"0.1.2","description":"Parse cobertura coverage to JSON, using the same format as lcov-parse","main":"src/index.js","scripts":{"test":"mocha","test-coverage":"nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/cvrg-report/cobertura-json.git"},"author":{"name":"TobiLG"},"license":"MIT","bugs":{"url":"https://github.com/cvrg-report/cobertura-json/issues"},"homepage":"https://github.com/cvrg-report/cobertura-json","devDependencies":{"mocha":"^7.1.2","nyc":"^15.0.1"},"dependencies":{"xml2js":"^0.4.23"},"gitHead":"5064995441ac6fcb1e781888cb96533e63150929","_id":"@cvrg-report/cobertura-json@0.1.2","_nodeVersion":"12.16.1","_npmVersion":"6.14.4","dist":{"integrity":"sha512-zogGhbLWPAuk0tRUtKyVACBCBUg7DSc5A3ach6D+bgJ+XhqcO5qwaH6+9+Ny1481X2OcLWswTv7T13wrsolESA==","shasum":"b845f718ea52daf1ed9d2db73012964ac460f246","tarball":"https://registry.npmjs.org/@cvrg-report/cobertura-json/-/cobertura-json-0.1.2.tgz","fileCount":9,"unpackedSize":26757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuQC+CRA9TVsSAnZWagAAvoAP/3RyV+T/RHIeNGzigSoy\nmdshRjJsEobzg2LOl48eo0ljVmV4eQeln+zsONPKax+tTF2+X6Ja+hi1+yZK\nNlpTKQ5UycB43VhhS0IDeLoQo5VsJPLaNOXNz9P4c26wSjxZNgDG9PjCPSSn\nNmw1GhY9xFB54eL7ywuzhMaNfvsAEuQewd9Qf6dKeRdGTC24mPl7NRNB71ru\nhJ7f/eEfKAOWqgv048YMC05xp1ZvJe0LQW7FtjDkkDs2JBRuHsWDtwP3wGTd\nSmu4j1texN81YcvZqUT8LDsKEmSYdz/9P/pKfi/YIc2vxpTuCduCKQKbiqAR\n4RtBqps7ABmGnyAqWqBMwKjyFJG8M8tEL4GqrSSIcHhHBbLVdmjyxahI7HDN\n00we7WpFgkp5pI5RvxT1WL8mFzKafYLAM3YcnUfv1l6Pa0Ifn5CB2oIlb95k\nV7nplFP5gl2d+Ug0LYB2z5vXunGiDt1/lC3Mbc1elloAAEsMpXZKOh+IkHH/\nfZkkZVaqCY9wQuwDkgq+7PIqSq7xurwG4KSFGCY5apz+oJaAi8W/v/ZlIzDF\nrwtW4LhtJryHJnyVE52oPVRQ7c5A/9BcVrWN6gEt2CzzYLyWev7/i1OKXbG2\ntPUKAM1ROIBWGwI7F0undAI+BTmsHILzismaqn+5zMCCZvwSrjXzB5p8iUOW\nPEHk\r\n=lmYM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFxYFSOz/nNOS8DzYnv61DN3sEGKk9nvKBXCalMIEPQUAiA321ueoWuzGlKtWHqputOJh7a7ZC7v6YmgAcIdMOdIWg=="}]},"maintainers":[{"name":"tobilg","email":"tobilg@gmail.com"}],"_npmUser":{"name":"tobilg","email":"tobilg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cobertura-json_0.1.2_1589182654038_0.6555578788087753"},"_hasShrinkwrap":false},"0.1.3":{"name":"@cvrg-report/cobertura-json","version":"0.1.3","description":"Parse cobertura coverage to JSON, using the same format as lcov-parse","main":"src/index.js","scripts":{"test":"mocha","test-coverage":"nyc mocha"},"repository":{"type":"git","url":"git+https://github.com/cvrg-report/cobertura-json.git"},"author":{"name":"TobiLG"},"license":"MIT","bugs":{"url":"https://github.com/cvrg-report/cobertura-json/issues"},"homepage":"https://github.com/cvrg-report/cobertura-json","devDependencies":{"mocha":"^10.1.0","nyc":"^15.1.0"},"dependencies":{"xml2js":"^0.4.23"},"gitHead":"03a9f41860e85657d3d739c7f161cc5408f6e656","_id":"@cvrg-report/cobertura-json@0.1.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-MsumMOQ3s0CwyQM5Th/kKcpy4HbQQnX0VHuJoCte61Or87qpLt4rWQZyI13mjxky2dlToK7R1wpo/jCOTs/LoA==","shasum":"59ec465b5a5703b936152453b9cdd76d45efb87d","tarball":"https://registry.npmjs.org/@cvrg-report/cobertura-json/-/cobertura-json-0.1.3.tgz","fileCount":7,"unpackedSize":26354,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIACf+7LVKvgDv9IcAiXxUfNyIMgCFh6YXBMdS2ZqxzxFAiAZatWxnsaLNgoK7zwZvwnrUXQpICrvcsHeJ3+ipoA3kg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjiJGSACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrfTg//f4afpJekaOtsOdL4jQrx0WWO9TTFnVF7SoVvDA4Pi3XJCGu7\r\nnuWEMnKW8U4VuRrfnStLI6ty7MIGgVTSY4ViWFJaWZ5GCGmPNdaQC751QQus\r\nzRt3R01WZy6zkGteC/TSe8KRWKmEJSZqb9M416LFHNcTa07WGmzFxmIp5/7+\r\nY0nN7bWVAFCI7FZaT+dAFpHQ7aIE8W0aZJvLf47X0/d8DvylDiBm4UmcoB9g\r\nPkdCB6PEHJRFXoDDy60P+4QWzdKks+XrvpfI1VqIo8HjVdE7FD45xcbUjOCp\r\nhBTLcvXnAL5gihTWZ+hHjiHWSXJ/S44nF9ye4fWQsqMiGbOGYChql7MYong0\r\na6d5lLAUgfPssaqoPKmPjobCPX8wa1Z7+ZRNCDh5MFOTXvAApb4eQRPjnEQ5\r\nRegg8PAcI28JvwyGjpC43aoIHtoJE9MjpK9u5w6Mo+ShYu+UoFOtbncaKHR8\r\nAng3sLjr+7bwC71Af9ms4qUfP/ilPNLNgpyxqQDye897iGV8HpJdL9EsuKKu\r\nGiRvdIhgtwhaaYMPvYWA/MQb9cn860T/9OpT+9/NOcSnGwlRCo+9wxAJSiSe\r\nRGfMDMcAa9pg8IB0ZRPuSlk6O5BsrwzqIXvlztUZIMhobxIhvy7uKeEXhkxc\r\nU/EYUQgAMnpAtoCmvOr1CVwX4Kpm313jUO8=\r\n=2Emn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tobilg","email":"tobilg@gmail.com"},"directories":{},"maintainers":[{"name":"tobilg","email":"tobilg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cobertura-json_0.1.3_1669894546609_0.7553481540707816"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-26T14:06:02.000Z","0.1.1":"2018-02-26T14:06:02.102Z","modified":"2022-12-01T11:35:46.846Z","0.1.2":"2020-05-11T07:37:34.179Z","0.1.3":"2022-12-01T11:35:46.737Z"},"maintainers":[{"name":"tobilg","email":"tobilg@gmail.com"}],"description":"Parse cobertura coverage to JSON, using the same format as lcov-parse","homepage":"https://github.com/cvrg-report/cobertura-json","repository":{"type":"git","url":"git+https://github.com/cvrg-report/cobertura-json.git"},"author":{"name":"TobiLG"},"bugs":{"url":"https://github.com/cvrg-report/cobertura-json/issues"},"license":"MIT","readme":"# cobertura-json\n\nParse [cobertura](http://cobertura.github.io/cobertura/) report files, and return a JSON representation in a [lcov-parse](https://github.com/davglass/lcov-parse) compatible manner.\n\n## Installation\n\n```\nnpm install @cvrg-report/cobertura-json --save\n```\n\n## Usage\n\n```javascript\nvar cobertura = require( \"@cvrg-report/cobertura-json\" );\n\n// Parse by file path\ncobertura.parseFile(\"filepath.xml\")\n    .then(function (result) {\n        console.log(JSON.stringify(result));\n    }).catch(function (err) {\n        console.error(err);\n    });\n\n// Parse by file contents\ncobertura.parseContent(\"<?xml version=\\\"1.0\\\" ?><coverage>...</coverage>\")\n    .then(function (result) {\n        console.log(JSON.stringify(result));\n    }).catch(function (err) {\n        console.error(err);\n    });\n```\n\n## Thanks\n\nThis repo was initially forked from [vokal/cobertura-parse](https://github.com/vokal/cobertura-parse). Thanks a lot!\n","readmeFilename":"README.md"}