istanbuljs.github.io
istanbuljs.github.io copied to clipboard
Question: istanbul version
Hello,
I'm currently using v8-to-istanbul to convert chromium headless coverage output via puppeteer to a format that can be consumed by https://github.com/SitePen/remap-istanbul.
Thanks for your work btw!
If the output of this package is in the "old" istanbul format as linked in the README: https://github.com/gotwarlost/istanbul/blob/master/coverage.json.md why is it part of the new istanbuljs repository?
Furthermore I cannot find further information on the new istanbuljs/nyc format: is there some documentation and where can i find it?
Are there any plans to support the new nyc format in this package? (well, i don't know of the differences between the formats, just that i cannot easily merge them) I would like to switch completely to nyc.
Could you please shed some light on these questions. Thanks!
👋 hello @v-jung, v8-to-istanbul should be representing data in a format that is consumable by nyc; which does have slight differences between the Istanbul 1.0 format.
This format isn't well documented and I agree that we should do so here:
https://istanbul.js.org/
Would love help doing so if you have any interest in contributing.
@bcoe in addition to human readable I think a JSON schema would be nice. Maybe human readable docs could even be generated by JSON schema, not sure.