{"_id":"istanbul-cobertura-badger","_rev":"35-5d01265662417886f37cfa8ec8fec7ba","name":"istanbul-cobertura-badger","description":"Istanbul test coverage report badger task.","dist-tags":{"latest":"1.3.1"},"versions":{"0.0.1":{"name":"istanbul-cobertura-badger","version":"0.0.1","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"main":"./index.js","repository":{"type":"git","url":"git@github.com:marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"jshint index.js"},"dependencies":{},"devDependencies":{"gulp":"^3.6.2","gulp-mocha":"^1.0.0","jshint":"^2.5.0","mocha":"^1.18.2","rimraf":"^2.2.8"},"licenses":[{"type":"MIT"}],"_id":"istanbul-cobertura-badger@0.0.1","dist":{"shasum":"259600e1acf30b5fd0a725f8ea783e3269e50124","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-0.0.1.tgz","integrity":"sha512-Ew6zZAifL2Vi/bGInEoHpnJaVfnVCFpQDwg5FkMjXp031AfOjMaTMPlYoMIR8x91BDqhgg/J5YiiiMvvEGJwTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeVBXjt9Gyzwd9GhaMDiiI7SJSWOT/ZBxBG18uOUFeuwIhAL3TYLx7VQmmSU2ftoOWGcCn5z0ry3vgbzxOrrd9wWHk"}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"mdesales","email":"Marcello_deSales@intuit.com"},"maintainers":[{"name":"mdesales","email":"Marcello_deSales@intuit.com"}]},"0.0.2":{"name":"istanbul-cobertura-badger","version":"0.0.2","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"main":"./index.js","repository":{"type":"git","url":"git@github.com:marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"jshint index.js"},"dependencies":{},"devDependencies":{"gulp":"^3.6.2","gulp-mocha":"^1.0.0","jshint":"^2.5.0","mocha":"^1.18.2","rimraf":"^2.2.8"},"licenses":[{"type":"MIT"}],"_id":"istanbul-cobertura-badger@0.0.2","dist":{"shasum":"698ef2fa1f77aa3b981675e18d44737ffad27c88","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-0.0.2.tgz","integrity":"sha512-JEw2SnGX8EVCVKWpAONVWFxlYlj8sBEKSSHExA7BNE7asEyHAtjc7QIaxUv5Vlzrdm32yolcphRNETztXSV2yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1hxIoub2Te2l2hbw/oA1qNj5zXQ1gjOpK2YHc7LPs8AIhAM4J0tl/19kLmp2wAkXAJyKYfr44X3tMm65AGTjDGxk7"}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"mdesales","email":"Marcello_deSales@intuit.com"},"maintainers":[{"name":"mdesales","email":"Marcello_deSales@intuit.com"}]},"0.0.3":{"name":"istanbul-cobertura-badger","version":"0.0.3","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"main":"./index.js","repository":{"type":"git","url":"git@github.com:marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"jshint index.js"},"dependencies":{"xml-splitter":"~1.2.1","path":"~0.4.9","fs":"0.0.2","request":"~2.44.0"},"devDependencies":{"gulp":"^3.6.2","gulp-mocha":"^1.0.0","jshint":"^2.5.0","mocha":"^1.18.2","rimraf":"^2.2.8"},"licenses":[{"type":"MIT"}],"_id":"istanbul-cobertura-badger@0.0.3","dist":{"shasum":"655cd753f8bb47e90af9ee391e9f9f8c84cc1519","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-0.0.3.tgz","integrity":"sha512-PW9Gwisb47XRccdjqKgAuKJ49H/rtqg0VpFKzZB8Tvp+93FemcQ1VzmJ7sokdGws+VYwzwuHSdl62tVNHw7Ojg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFU2yAapf6+yC4d9Qe6YV6zgdgLS2PCdN65aF1N2XrISAiEAw5/ooRfOul8Nh653Iwq5Ykgjy5wngMbXofJWIb8LmWo="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"mdesales","email":"Marcello_deSales@intuit.com"},"maintainers":[{"name":"mdesales","email":"Marcello_deSales@intuit.com"}]},"0.0.4":{"name":"istanbul-cobertura-badger","version":"0.0.4","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"main":"./index.js","repository":{"type":"git","url":"git@github.com:marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"jshint index.js"},"dependencies":{"xml-splitter":"~1.2.1","path":"~0.4.9","fs":"0.0.2","request":"~2.44.0"},"devDependencies":{"gulp":"^3.6.2","gulp-mocha":"^1.0.0","jshint":"^2.5.0","mocha":"^1.18.2","rimraf":"^2.2.8"},"licenses":[{"type":"MIT"}],"_id":"istanbul-cobertura-badger@0.0.4","dist":{"shasum":"82874523df89a653298b523d3eb33479b35a93b5","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-0.0.4.tgz","integrity":"sha512-9r01mA+m0UVJ6X+wDwYlP6KWo1iU+XEVSV2lsOCuVTdszan8Xaud5W/vXf6y/64gih40UKYzahA00Fb7ac/0FA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWupY9Rskiks4YvFNdBIHIads6k2pm4QHH5864cLwBpAiAQQ9ufRsG5cujfdLqmbCQkmpaooYEsLDPTIHwRarp30Q=="}]},"_from":".","_npmVersion":"1.3.10","_npmUser":{"name":"mdesales","email":"Marcello_deSales@intuit.com"},"maintainers":[{"name":"mdesales","email":"Marcello_deSales@intuit.com"}]},"1.0.0":{"name":"istanbul-cobertura-badger","version":"1.0.0","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"}],"main":"./index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","http-request":"^0.7.0","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"^1.1.2","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"0.0.2"},"licenses":[{"type":"MIT"}],"gitHead":"aae367a29c36f40e7e08c80042f2b35fbb4e7a2e","_id":"istanbul-cobertura-badger@1.0.0","_shasum":"95e975e98f600dfa458f913455ac6283f272de74","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.10.40","_npmUser":{"name":"mdesales","email":"Marcello_deSales@intuit.com"},"dist":{"shasum":"95e975e98f600dfa458f913455ac6283f272de74","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.0.0.tgz","integrity":"sha512-hhlTz6JEPjhlusEub1FyviUsPAdL8hZBGzCeuDg9jz9jzAob1FkN2ZvnSQdzHsqBX+FMoakEpTjv7eymwIk28Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDI/a4Q3hHKYSQtD5qRPY55qZL4GN/7YeCmqETEmyVsnAiB68srL/l9s9Cht1OxBebNeQRNh1VjhlwCWsLE97WniVA=="}]},"maintainers":[{"name":"mdesales","email":"Marcello_deSales@intuit.com"}]},"1.0.1":{"name":"istanbul-cobertura-badger","version":"1.0.1","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","http-request":"^0.7.0","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"^1.1.2","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"0.0.2"},"licenses":[{"type":"MIT"}],"gitHead":"8974dfe25cb0a4ece1c0824422f7c0c2a316c4e8","_id":"istanbul-cobertura-badger@1.0.1","_shasum":"26b1f38d8554b35cd2648e490a0244189e6ca872","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"26b1f38d8554b35cd2648e490a0244189e6ca872","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.0.1.tgz","integrity":"sha512-IYaYktma9AbqzF8F2GvkvJDJx4dKM1qhJUzuuiJ5nUkdkBdRi4k5zB+TdkxL30m4Nax686IAeEs62d13XhfY0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFfjY2brNIavWRU/WeAtQ9xjKaD72QjiCou1ykByQqlmAiAVKm5vPHknN9ETNd9Ac+9azmHrkZ/foPVZDSzJ5CICdg=="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.1.0":{"name":"istanbul-cobertura-badger","version":"1.1.0","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","http-request":"^0.7.0","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"^1.1.2","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"0.0.2"},"licenses":[{"type":"MIT"}],"gitHead":"c92f3c157e3be8629dd488043c66954e809560bc","_id":"istanbul-cobertura-badger@1.1.0","_shasum":"9b79d9edd3ef031492adc52c0fec36e0772d34c8","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"9b79d9edd3ef031492adc52c0fec36e0772d34c8","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.1.0.tgz","integrity":"sha512-PteHBEtgRm7MkpwjrtEMHY5DHNlDPQa/xoQHMdgMQm0bluLU2Wes3mEu7CrVPHRMkmrQAZV9AzAlLi+vSx/j3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE/uVk8ieNq17gxdA44lRna7/ipoQwT39POeqDlBgQhlAiEAxfCgovgMX8jpPFqZm8CoeW3yFMY8r3iiROdDGrbF2ag="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.1.1":{"name":"istanbul-cobertura-badger","version":"1.1.1","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/marcellodesales/istanbul-cobertura-badger","bugs":{"url":"https://github.com/marcellodesales/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/marcellodesales/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"^1.1.2","coveralls":"^2.11.3","istanbul":"^0.3.17","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"0.0.2"},"licenses":[{"type":"MIT"}],"gitHead":"00feb169c00dc9abdfec570c61e432bf62b12fdb","_id":"istanbul-cobertura-badger@1.1.1","_shasum":"af769673960c574458f73ad33cafe15f9944f211","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"af769673960c574458f73ad33cafe15f9944f211","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.1.1.tgz","integrity":"sha512-8Pofa+oGzv+gmyIAvILYaqrLJ5lGVg2k4hWeV36w+aSuC7on8LW0FabPPxUxk9N6hP1ieJ0AYznDxFRJkpdEDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxyPOCATWYmnlytQZfJgOiHuK8tnivz+sZG3krY0SBjQIgFiSL1tqWclUhh3wKT96RzOPTA8BhVCzBiJ2TzHqb8s8="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.1.2":{"name":"istanbul-cobertura-badger","version":"1.1.2","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"^1.1.2","coveralls":"^2.11.3","istanbul":"^0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"0.0.2"},"licenses":[{"type":"MIT"}],"gitHead":"d5db18a5b3a8eb9fa8f66b033c896a222e0be6b4","_id":"istanbul-cobertura-badger@1.1.2","_shasum":"3a2d91f0480f076f01798e027a6fda850ebde4ec","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"3a2d91f0480f076f01798e027a6fda850ebde4ec","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.1.2.tgz","integrity":"sha512-hzGsyaUf4uF0AGc7iVdufFBQl0UgMgOIeLmoTomWdlgWH1rGTKWiKbnQ9wGT2Wl8+OPbVVoB5OwM0fhQNQydIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVNIdLEeKek2yQxpl9R1CXxuqRcpmEcn8K+h/FMyOKnAiEA+uvkGu3v7tS7HL9tNLEGMJAsA8EtMwnpdRXCZFKFh0Y="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.1.3":{"name":"istanbul-cobertura-badger","version":"1.1.3","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"1.1.2","coveralls":"2.11.3","istanbul":"0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"^1.0.0"},"licenses":[{"type":"MIT"}],"gitHead":"929735bc605cbde2fccf3864581bddc8ddcc4764","_id":"istanbul-cobertura-badger@1.1.3","_shasum":"6c4142508b4add0749cc1cc618a175dcb934e39e","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"6c4142508b4add0749cc1cc618a175dcb934e39e","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.1.3.tgz","integrity":"sha512-Qfs/ua9Gu6hYHiMiQijKDCH6LpzmAjjiiZuGDZIoVM6PWvcBejBi3VO48E0CiS4JtVZo1M2oNOjIGzhYR+0SFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeEyYJVI8BO07KVPH2+z7Xg0m4Q+LfI4gG95YUAJUlrAIgGcwsydi+py3E5lpL0ho9Ph6tzAXKgn4Pc+VwozqFQiM="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.2.0":{"name":"istanbul-cobertura-badger","version":"1.2.0","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1","xtend":"~4.0.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"1.1.2","coveralls":"2.11.3","istanbul":"0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"^1.0.0"},"licenses":[{"type":"MIT"}],"gitHead":"7c812ff7bbd40ed330b909d5ff7780a54a71d5df","_id":"istanbul-cobertura-badger@1.2.0","_shasum":"4bee5f6a238adb730fc85706d44acba4a59bb1c4","_from":".","_npmVersion":"2.14.7","_nodeVersion":"0.10.40","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"4bee5f6a238adb730fc85706d44acba4a59bb1c4","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.2.0.tgz","integrity":"sha512-FOsJ6MqaDlDGC85negpPNn99MhLBAmNitnClsnTOR1H/kdVwQDpPKNcB1qMgak7YKoF00ipGSHb1kw+MzL/BKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3sxnF9fAY1ddPZdM3h54e/XJsKNzniperdLTT0zhwFQIhAKdSYNI+wUMN/FvJgJR+VszfhN6h2CEREo/1ZiyOfXW7"}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.2.1":{"name":"istanbul-cobertura-badger","version":"1.2.1","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1","xtend":"~4.0.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"1.1.2","coveralls":"2.11.3","istanbul":"0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"^1.0.0"},"licenses":[{"type":"MIT"}],"gitHead":"e4b60c1529e352521c14f08ead8a555ff1289740","_id":"istanbul-cobertura-badger@1.2.1","_shasum":"699cc0702bb141e0c2421686df5cfc34073ed496","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"699cc0702bb141e0c2421686df5cfc34073ed496","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.2.1.tgz","integrity":"sha512-CFW6OHCEHrmmAMiwMS2xH5ds6LhnvgaHg3kGsgA8mrRbncrtb122jCbovzZwIYHJ4x1Se5H78d9DoFx9ST13qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeuUaTyb4P1i1qg1dblC4crrDumXfST3BdUO0Zb2tvEgIhANQ9vu5y582ccRNkxncmghn7Yb/8li8ccPo/bAa9xmqw"}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}]},"1.3.0":{"name":"istanbul-cobertura-badger","version":"1.3.0","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1","xtend":"~4.0.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"1.1.2","coveralls":"2.11.3","istanbul":"0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"^1.0.0"},"licenses":[{"type":"MIT"}],"gitHead":"2c520becf494de01c245fc20d80c607353526b87","_id":"istanbul-cobertura-badger@1.3.0","_shasum":"78b9cb48abb3a2d5e7c3abd357fa700787672c60","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.10.25","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"78b9cb48abb3a2d5e7c3abd357fa700787672c60","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.3.0.tgz","integrity":"sha512-bTI1uneAXEKxGDi5gsE9jWzOLCYu56Yur6U/jY6CV/CJSsGnq+gKCqEmyvA7rwuHslk5f3fOeF6R/dZssc1mbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/1IYrT/1R7oud3E7+K4U242JPYACR0EWUx5e6y92C0wIgZcZVUq6fA3LrEapE1RAEDoUfePuHlLR1gNU59NAycS0="}]},"maintainers":[{"name":"jwalton","email":"npm@lucid.thedreaming.org"},{"name":"marcellodesales","email":"marcello_desales@intuit.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/istanbul-cobertura-badger-1.3.0.tgz_1488843148458_0.033239864045754075"}},"1.3.1":{"name":"istanbul-cobertura-badger","version":"1.3.1","description":"Istanbul test coverage report badger task.","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"license":"MIT","homepage":"https://github.com/intuit/istanbul-cobertura-badger","bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"main":"./lib/index.js","bin":{"istanbul-cobertura-badger":"./lib/cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"scripts":{"pretest":"rm -rf coverage/ && jshint --reporter=node_modules/jshint-stylish lib/*.js test/*.js && ./node_modules/jscs/bin/jscs lib test","test":"istanbul cover ./node_modules/mocha/bin/_mocha --report cobertura --report text --report html --report lcov -- -R spec","posttest":"node ./lib/cli.js -f -v && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"dependencies":{"commander":"^2.8.1","xml-splitter":"~1.2.1","xtend":"~4.0.1"},"devDependencies":{"chai":"^3.2.0","codacy-coverage":"1.1.2","coveralls":"2.11.3","istanbul":"0.4.1","jscs":"^2.0.0","jshint":"^2.5.0","jshint-stylish":"^2.0.1","mocha":"^2.2.5","mocha-lcov-reporter":"^1.0.0"},"licenses":[{"type":"MIT"}],"gitHead":"5bb21d04735680298d13e71f9c7f55611e3c5453","_id":"istanbul-cobertura-badger@1.3.1","_shasum":"3cd90c42b65246d85898e03b4d69f7b6c8ace334","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"marcellodesales","email":"marcello_desales@intuit.com"},"dist":{"shasum":"3cd90c42b65246d85898e03b4d69f7b6c8ace334","tarball":"https://registry.npmjs.org/istanbul-cobertura-badger/-/istanbul-cobertura-badger-1.3.1.tgz","integrity":"sha512-YT907T6eE4xuBduMGRRxX1thOWeFSS2BW+l1G+EjJfWjbD2yT4pNwRDVnnralqyXwt9ytWpCPFvVKH6YHk7UaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMxt/GboZ2+1oIin0MmXg6Lbdgd5kcu4a3wCQ87BynNAIhANk3I552z1RPn75Z/eNGXE1AoP48Q9HOg/8ASPLUF0hm"}]},"maintainers":[{"email":"marcello_desales@intuit.com","name":"marcellodesales"},{"email":"npm@lucid.thedreaming.org","name":"jwalton"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/istanbul-cobertura-badger-1.3.1.tgz_1511293195950_0.3805979418102652"}}},"readme":"istanbul-cobertura-badger\n=========================\n[![Travis](https://api.travis-ci.org/intuit/istanbul-cobertura-badger.svg)](https://travis-ci.org/intuit/istanbul-cobertura-badger) [![npm version](https://badge.fury.io/js/istanbul-cobertura-badger.svg)](http://badge.fury.io/js/istanbul-cobertura-badger) [![Codacy Badge](https://www.codacy.com/project/badge/172621abbd81457d84ee5df6ebe13f91)](https://www.codacy.com/app/marcellodesales/istanbul-cobertura-badger) [![Code Climate](https://codeclimate.com/github/marcellodesales/istanbul-cobertura-badger/badges/gpa.svg)](https://codeclimate.com/github/marcellodesales/istanbul-cobertura-badger) [![Dependency Status](https://david-dm.org/intuit/istanbul-cobertura-badger.svg)](https://david-dm.org/intuit/istanbul-cobertura-badger) [![devDependency Status](https://david-dm.org/intuit/istanbul-cobertura-badger/dev-status.svg)](https://david-dm.org/intuit/istanbul-cobertura-badger#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/intuit/istanbul-cobertura-badger/badge.svg?branch=master&service=github)](https://coveralls.io/github/intuit/istanbul-cobertura-badger?branch=master) ![License](https://img.shields.io/badge/license-MIT-lightgray.svg)\n\nCreates a coverage badge by reading the Cobertura XML coverage report from node-istanbul reports using  https://github.com/badges/shields.\n\n[![NPM](https://nodei.co/npm/istanbul-cobertura-badger.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/istanbul-cobertura-badger/)\n\nRequirements\n========\n\nI started to work with Node a few months ago, and I recently stumbled upon many different badges on GitHub pages,\nincluding code coverage. I posted a question on Stack Overflow about it:\n\nhttp://stackoverflow.com/questions/26028024/how-to-make-a-gulp-code-coverage-badge\n\n* I want to be able to generate the coverage report after code coverage runs by any Node.js build system like\nGulp or Grunt, and be able to publish the badge on the README.md file through a Jenkins link;\n* The badge displays appropriate colors for the badge.\n * Green: >= 80% overall coverage ![](http://img.shields.io/badge/coverage-93%-brightgreen.svg)\n * Yellow: 65% <= overall coverage < 80% ![](http://img.shields.io/badge/coverage-74%-yellow.svg)\n * Red: < 65% overall coverage ![](http://img.shields.io/badge/coverage-32%-red.svg)\n\nThe idea is to serve in the Node.js README for internal use in a GitHub enterprise machine along with\nJenkins.\n\nInstallation\n=========\n\n```\nnpm install --save-dev istanbul-cobertura-badger\n```\nSetup\n=========\n\nThe following parameters are used:\n\n* Cobertura file report: The XML-based cobertura file generated by Istanbul \"cobertura\" report.\n* Destination Path: The path to the destination directory where the badge image will be created.\n* Callback: The callback function after the file has been downloaded.\n* Optional Thresholds: Adjust the thresholds if needed.\n\nCobertura Xml Report\n--------\n\nYou can generate the cobertura XML report by adding a new report to the istanbul command as follows:\n\n```\n  --report cobertura\n```\n\nTake a look at this project's `package.json` for details.\n\nThe option to change in the code is as follows:\n\n```js\n  // Setting the default coverage file generated by istanbul cobertura report.\n  opts.istanbulReportFile = opts.istanbulReportFile || \"./coverage/cobertura-coverage.xml\";\n```\n\nDestination Dir\n-----\n\nThe destination directory will, by default, be the one from istanbul `$APP/coverage`.\n\n```js\n  // The default location for the destination being the coverage directory from istanbul.\n  opts.destinationDir = opts.destinationDir || \"./coverage/\";\n```\n\nNote that the default directory will be used as `coverage/cobertura-coverage.xml`.\n\nAdjusting Thresholds\n---------\n\nThe overall threshold is computed by using the `line rate`, `branch rate` and `function rate`. That's the final value that defines \n`coverage result`. You can adjust the thresholds to properly generate the badges with appropriate colors.\n\n```js\n  // The thresholds to be used to give colors to the badge.\n  opts.thresholds = {\n    excellent: 90,\n    good: 65\n  };\n```\n\n* *Green*: coverage result >= opts.thresholds.excellent;\n* *Yellow*: coverage result >= opts.thresholds.good;\n* *Red*: coverage result < opts.thresholds.good.\n\nUpon calling the callback function, the file `cobertura.svg` will be available in the destination path.\n\nExamples\n========\n\n```js\nvar coberturaBadger = require('istanbul-cobertura-badger');\n\n// Use the fixture that's without problems\nvar opts = {\n  //badgeFileName: \"cobertura\", // No extension, Defaults to \"coverage\"\n  destinationDir: __dirname, // REQUIRED PARAMETER!\n  istanbulReportFile: path.resolve(__dirname, \"coverage\", \"cobertura-coverage.xml\"),\n  thresholds: {\n    // overall percent >= excellent, green badge\n    excellent: 90,\n    // overall percent < excellent and >= good, yellow badge\n    good: 65\n    // overall percent < good, red badge\n  }\n};\n\n// Load the badge for the report$\nbadger(opts, function parsingResults(err, badgeStatus) {\n  if (err) {\n    console.log(\"An error occurred: \" + err.message);\n  }\n  console.log(\"Badge successfully generated at \" + badgeStatus.badgeFile.file);\n  console.log(badgeStatus);\n});\n```\n\nAn example of a successful badge creation is as follows:\n\n```js\n{ overallPercent: 66,\n  functionRate: 0.7368421052631579,\n  lineRate: 0.8034,\n  branchRate: 0.47369999999999995,\n  url: 'http://img.shields.io/badge/coverage-66%-yellow.svg',\n  badgeFile: { \n    method: 'GET',\n    code: 200,\n    file: '/home/mdesales/dev/github/intuit/istanbul-cobertura-badger/test/coverage.svg' \n  }\n}\n```\n\nGulp Build\n=========\n\n```js\ngulp.task('test', function() {\n  gulp.src('src/**/*.js')\n    .pipe(istanbul()) // coverying files\n    .on('finish', function () {\n      gulp.src(['test/*.js'])\n        .pipe(mocha({reporter: 'spec'})) // different reporters at http://mochajs.org/#reporters\n        .pipe(istanbul.writeReports({\n          reporters: ['cobertura', 'text-summary', 'html'], // https://www.npmjs.org/package/gulp-istanbul#reporters\n          reportOpts: { dir: './docs/tests' }\n        }))\n        .on('end', function() {\n\n          var opts = {\n            destinationDir: path.resolve(__dirname, \"docs\", \"tests\"),\n            istanbulReportFile: path.resolve(__dirname, \"docs\", \"tests\", \"cobertura-coverage.xml\"),\n          }\n          coverageBadger(opts, function(err, results) {\n            if (err) {\n              console.log(\"An error occurred while generating the coverage badge\" + err.message);\n              process.exit(-1);\n            }\n            console.log(\"Badge generated successfully: \" + results)\n            process.exit(0);\n           });\n\n        });\n    });\n});\n```\n\nCLI\n===\n\nYou can now use the CLI to create the badge for ANY XML Cobertura report created from Istanbul or Java applications.\n\nCLI Options\n------\n\nThe CLI prints the following help:\n\n```\n$ istanbul-cobertura-badger \n\n  Usage: cli [options]\n\n  Generates a badge for a given Cobertura XML report\n\n  Options:\n\n    -h, --help                          output usage information\n    -V, --version                       output the version number\n    -f, --defaults                      Use the default values for all the input.\n    -e, --excellentThreshold <n>       The threshold for green badges, where coverage >= -e\n    -g, --goodThreshold <n>            The threshold for yellow badges, where -g <= coverage < -e  \n    -b, --badgeFileName <badge>         The badge file name that will be saved.\n    -r, --reportFile <report>           The istanbul cobertura XML file path.\n    -d, --destinationDir <destination>  The directory where 'coverage.svg' will be generated at.\n    -v, --verbose                       Prints the metadata for the command\n\n  Examples:\n\n    $ istanbul-cobertura-badger -e 90 -g 65 -r coverage/cobertura.xml -d coverage/\n      * Green: coverage >= 90\n      * Yellow: 65 <= coverage < 90\n      * Red: coverage < 65\n      * Created at the coverage directory from the given report.\n\n    $ istanbul-cobertura-badger -e 80 -d /tmp/build\n      * Green: coverage >= 80\n      * Yellow: 65 <= coverage < 80\n      * Red: coverage < 65\n```\n\nCLI Default Input\n-----\n\nRun the CLI using the default values defined above. Here's the example of running against this project.\n\n```js\n$ istanbul-cobertura-badger -f -v\n{ overallPercent: 91,\n  functionRate: 1,\n  lineRate: 0.9309999999999999,\n  branchRate: 0.8167,\n  url: 'http://img.shields.io/badge/coverage-91%-brightgreen.svg',\n  badgeFile: \n   { downloaded: true,\n     filePath: '/home/mdesales/dev/github/intuit/istanbul-cobertura-badger/coverage/coverage.svg',\n     size: 730 },\n  color: 'brightgreen' }\nBadge created at /home/mdesales/dev/github/intuit/istanbul-cobertura-badger/coverage/coverage.svg\n```\n\nCLI Simple Output\n-----\n\nJust use the simple command with some options.\n\n```\n$ istanbul-cobertura-badger -e 85 -g 70 -r test/fixture/istanbul-report.xml -d /tmp/\nBadge created at /tmp/coverage.svg\n\n```\n\nCLI Verbose Output\n-----\n\nThe overall information collected is also presented when using the verbose option.\n\n```js\n$ istanbul-cobertura-badger -e 85 -g 70 -r test/fixture/istanbul-report.xml -d /tmp/ -v\n{ overallPercent: 66,\n  functionRate: 0.7368421052631579,\n  lineRate: 0.8034,\n  branchRate: 0.47369999999999995,\n  url: 'http://img.shields.io/badge/coverage-66%-red.svg',\n  badgeFile: { downloaded: true, filePath: '/tmp/coverage.svg', size: 733 },\n  color: 'red' }\nBadge created at /tmp/coverage.svg\n```\n\nCLI Version\n------\n\nYou can print the current version of the project by using the -V option. It uses the package.json#version as the value.\n\n```\n$ istanbul-cobertura-badger -V\n1.0.0\n```\n\nContributing\n==============\n\nWe use the GitFlow branching model http://nvie.com/posts/a-successful-git-branching-model/.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b feature/issue-444-Add-Rest-APIs origin/master --track`)\n * Adding the Jira ticket ID helps communicating where this feature is coming from.\n3. Commit your changes (`git commit -am 'Fix #444: Add support to REST-APIs'`)\n * Adding \"fix #444\" will trigger a link to the GitHub issue #444.\n4. Push to the branch (`git push feature/issue-444-Add-Rest-APIS`)\n5. Create new Pull Request as indicated by this page or your forked repo.\n","maintainers":[{"email":"marcello_desales@intuit.com","name":"marcellodesales"},{"email":"npm@lucid.thedreaming.org","name":"jwalton"}],"time":{"modified":"2022-06-19T03:08:20.489Z","created":"2014-09-25T03:01:57.491Z","0.0.1":"2014-09-25T03:01:58.097Z","0.0.2":"2014-09-25T03:28:34.226Z","0.0.3":"2014-09-25T05:37:22.299Z","0.0.4":"2014-09-27T00:23:19.780Z","1.0.0":"2015-08-10T05:16:31.299Z","1.0.1":"2015-10-07T23:26:09.541Z","1.1.0":"2015-10-08T07:07:18.362Z","1.1.1":"2015-11-28T17:24:34.263Z","1.1.2":"2015-11-28T18:36:15.414Z","1.1.3":"2015-11-28T19:29:34.159Z","1.2.0":"2015-12-01T03:13:18.982Z","1.2.1":"2015-12-16T18:17:29.463Z","1.3.0":"2017-03-06T23:32:30.532Z","1.3.1":"2017-11-21T19:39:56.183Z"},"readmeFilename":"README.md","homepage":"https://github.com/intuit/istanbul-cobertura-badger","keywords":["gulp","grunt","coverage","istanbul","unit test","report","github badge"],"repository":{"type":"git","url":"git+ssh://git@github.com/intuit/istanbul-cobertura-badger.git"},"author":{"name":"Marcello de Sales","email":"Marcello_deSales@intuit.com","url":"https://github.com/marcellodesales"},"bugs":{"url":"https://github.com/intuit/istanbul-cobertura-badger/issues"},"users":{"marcellodesales":true,"honzajde":true},"contributors":[{"name":"marcellodesales","email":"Marcello_deSales@intuit.com","url":"http://about.me/marcellodesales"},{"name":"jwalton","email":"npm@lucid.thedreaming.org","url":"https://github.com/jwalton"},{"name":"olivierntk","email":"Olivier_Nguyen@intuit.com","url":"https://github.com/olivierntk"},{"name":"hbetts","email":"hutson@hyper-expanse.net","url":"https://github.com/hbetts"}],"license":"MIT"}