{"name":"cobertura-parse","version":"1.0.2","description":"Parse cobertura coverage to JSON, based on output from lcov-parse","main":"source/index.js","scripts":{"test":"mocha --reporter spec","testcover":"istanbul cover node_modules/mocha/bin/_mocha -- -R spec"},"repository":{"type":"git","url":"git+https://github.com/vokal/cobertura-parse.git"},"author":{"name":"Vokal"},"license":"MIT","bugs":{"url":"https://github.com/vokal/cobertura-parse/issues"},"homepage":"https://github.com/vokal/cobertura-parse","dependencies":{"mocha":"^2.2.5","xml2js":"^0.4.9"},"gitHead":"139f72c804c7c364a57409edbf01d047e580977c","_id":"cobertura-parse@1.0.2","_shasum":"d61cb7ac6a702cf3eeeecbf5561d62c764708161","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.0","_npmUser":{"name":"jrit","email":"jarrett@24m2.com"},"maintainers":[{"name":"jrit","email":"jarrett@24m2.com"},{"name":"vokal","email":"npm@vokal.io"}],"dist":{"shasum":"d61cb7ac6a702cf3eeeecbf5561d62c764708161","tarball":"http://registry-npm.ywwl.com/cobertura-parse/download/cobertura-parse-1.0.2.tgz","integrity":"sha512-v1YxlPLwQdCfzn2hG3DPOtU3kJ/0HpU1sEQmQmTKV5iZox+TanUfZivPz/K8awm2NqyZvjQAL7di6VBanqArew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk9SvniP1CB6bUMl5OSQ7VVBFiHRX9MXVfv/okEYGkeQIgAhRYw5QzLAbvCp+YHZeS6bGP9tcrk24FtrPgsokUcgQ="}],"size":3976,"noattachment":false,"key":"/cobertura-parse/-/cobertura-parse-1.0.2.tgz"},"directories":{},"readme":"# cobertura-parse\r\n\r\nParse cobertura results file and return JSON\r\n\r\nThe output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse\r\n\r\n## Use\r\n\r\n```js\r\nvar cob = require( \"cobertura-parse\" );\r\n\r\n// parse by file path\r\ncob.parseFile( \"filepath.xml\", function( err, result ) { ... } );\r\n\r\n// or parse file contents\r\ncob.parseContent( \"<?xml version=\"1.0\" ?><coverage>...</coverage>\",\r\n    function( err, result ) { ... } );\r\n```","publish_time":1434655380532,"_cnpm_publish_time":1434655380532,"dist-tags":{"latest":"1.0.5"}}